@maxim_mazurok/gapi.client.recommendationengine-v1beta1 0.2.20260212 → 0.2.20260604

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 +3 -3
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
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://recommendationengine.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20260212
12
+ // Revision: 20260604
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -37,7 +37,7 @@ declare namespace gapi.client {
37
37
  /** The HTTP request/response body as raw binary. */
38
38
  data?: string;
39
39
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
40
- extensions?: Array<{[P in string]: any}>;
40
+ extensions?: {[P in string]: any}[];
41
41
  }
42
42
  interface GoogleCloudRecommendationengineV1alphaRejoinCatalogMetadata {}
43
43
  interface GoogleCloudRecommendationengineV1alphaRejoinCatalogResponse {
@@ -461,7 +461,7 @@ declare namespace gapi.client {
461
461
  /** The status code, which should be an enum value of google.rpc.Code. */
462
462
  code?: number;
463
463
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
464
- details?: Array<{[P in string]: any}>;
464
+ details?: {[P in string]: any}[];
465
465
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
466
466
  message?: string;
467
467
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.recommendationengine-v1beta1",
3
- "version": "0.2.20260212",
3
+ "version": "0.2.20260604",
4
4
  "description": "TypeScript typings for Recommendations AI (Beta) v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for Recommendations AI (Beta):
11
11
  npm install @types/gapi.client.recommendationengine-v1beta1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": [
22
+ "gapi",
23
+ "gapi.auth2",
24
+ "gapi.client",
25
+ "gapi.client.recommendationengine-v1beta1"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: