@maxim_mazurok/gapi.client.language-v1beta2 0.0.20250119 → 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 +10 -10
  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=v1beta2
12
- // Revision: 20250119
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 v1beta2 */
18
18
  function load(
19
- urlOrObject: 'https://language.googleapis.com/$discovery/rest?version=v1beta2'
19
+ urlOrObject: 'https://language.googleapis.com/$discovery/rest?version=v1beta2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'language', version: 'v1beta2'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'language',
26
26
  version: 'v1beta2',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace language {
@@ -1347,7 +1347,7 @@ declare namespace gapi.client {
1347
1347
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1348
1348
  uploadType?: string;
1349
1349
  },
1350
- body: AnalyzeEntitiesRequest
1350
+ body: AnalyzeEntitiesRequest,
1351
1351
  ): Request<AnalyzeEntitiesResponse>;
1352
1352
  /** Finds entities, similar to AnalyzeEntities in the text and analyzes sentiment associated with each entity and its mentions. */
1353
1353
  analyzeEntitySentiment(request: {
@@ -1401,7 +1401,7 @@ declare namespace gapi.client {
1401
1401
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1402
1402
  uploadType?: string;
1403
1403
  },
1404
- body: AnalyzeEntitySentimentRequest
1404
+ body: AnalyzeEntitySentimentRequest,
1405
1405
  ): Request<AnalyzeEntitySentimentResponse>;
1406
1406
  /** Analyzes the sentiment of the provided text. */
1407
1407
  analyzeSentiment(request: {
@@ -1455,7 +1455,7 @@ declare namespace gapi.client {
1455
1455
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1456
1456
  uploadType?: string;
1457
1457
  },
1458
- body: AnalyzeSentimentRequest
1458
+ body: AnalyzeSentimentRequest,
1459
1459
  ): Request<AnalyzeSentimentResponse>;
1460
1460
  /** Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties. */
1461
1461
  analyzeSyntax(request: {
@@ -1509,7 +1509,7 @@ declare namespace gapi.client {
1509
1509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1510
1510
  uploadType?: string;
1511
1511
  },
1512
- body: AnalyzeSyntaxRequest
1512
+ body: AnalyzeSyntaxRequest,
1513
1513
  ): Request<AnalyzeSyntaxResponse>;
1514
1514
  /** A convenience method that provides all syntax, sentiment, entity, and classification features in one call. */
1515
1515
  annotateText(request: {
@@ -1563,7 +1563,7 @@ declare namespace gapi.client {
1563
1563
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1564
1564
  uploadType?: string;
1565
1565
  },
1566
- body: AnnotateTextRequest
1566
+ body: AnnotateTextRequest,
1567
1567
  ): Request<AnnotateTextResponse>;
1568
1568
  /** Classifies a document into categories. */
1569
1569
  classifyText(request: {
@@ -1617,7 +1617,7 @@ declare namespace gapi.client {
1617
1617
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1618
1618
  uploadType?: string;
1619
1619
  },
1620
- body: ClassifyTextRequest
1620
+ body: ClassifyTextRequest,
1621
1621
  ): Request<ClassifyTextResponse>;
1622
1622
  /** Moderates a document for harmful and sensitive categories. */
1623
1623
  moderateText(request: {
@@ -1671,7 +1671,7 @@ declare namespace gapi.client {
1671
1671
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1672
1672
  uploadType?: string;
1673
1673
  },
1674
- body: ModerateTextRequest
1674
+ body: ModerateTextRequest,
1675
1675
  ): Request<ModerateTextResponse>;
1676
1676
  }
1677
1677
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.language-v1beta2",
3
- "version": "0.0.20250119",
3
+ "version": "0.0.20250202",
4
4
  "description": "TypeScript typings for Cloud Natural Language API v1beta2",
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