@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20250320 → 0.0.20250322

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 +28 -7
  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://discoveryengine.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250320
12
+ // Revision: 20250322
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -892,12 +892,17 @@ declare namespace gapi.client {
892
892
  /** Configurations applied to digital parser. */
893
893
  digitalParsingConfig?: any;
894
894
  /** Configurations applied to layout parser. */
895
- layoutParsingConfig?: any;
895
+ layoutParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
896
896
  /** Configurations applied to OCR parser. Currently it only applies to PDFs. */
897
897
  ocrParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig;
898
898
  }
899
899
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
900
- interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {}
900
+ interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
901
+ /** Optional. If true, the LLM based annotation is added to the image during parsing. */
902
+ enableImageAnnotation?: boolean;
903
+ /** Optional. If true, the LLM based annotation is added to the table during parsing. */
904
+ enableTableAnnotation?: boolean;
905
+ }
901
906
  interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig {
902
907
  /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
903
908
  enhancedDocumentElements?: string[];
@@ -1869,6 +1874,8 @@ declare namespace gapi.client {
1869
1874
  updateTime?: string;
1870
1875
  }
1871
1876
  interface GoogleCloudDiscoveryengineV1alphaUserInfo {
1877
+ /** Optional. IANA time zone, e.g. Europe/Budapest. */
1878
+ timeZone?: string;
1872
1879
  /** User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set. */
1873
1880
  userAgent?: string;
1874
1881
  /** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
@@ -2597,12 +2604,17 @@ declare namespace gapi.client {
2597
2604
  /** Configurations applied to digital parser. */
2598
2605
  digitalParsingConfig?: any;
2599
2606
  /** Configurations applied to layout parser. */
2600
- layoutParsingConfig?: any;
2607
+ layoutParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
2601
2608
  /** Configurations applied to OCR parser. Currently it only applies to PDFs. */
2602
2609
  ocrParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig;
2603
2610
  }
2604
2611
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
2605
- interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {}
2612
+ interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
2613
+ /** Optional. If true, the LLM based annotation is added to the image during parsing. */
2614
+ enableImageAnnotation?: boolean;
2615
+ /** Optional. If true, the LLM based annotation is added to the table during parsing. */
2616
+ enableTableAnnotation?: boolean;
2617
+ }
2606
2618
  interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
2607
2619
  /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
2608
2620
  enhancedDocumentElements?: string[];
@@ -3315,6 +3327,8 @@ declare namespace gapi.client {
3315
3327
  updateTime?: string;
3316
3328
  }
3317
3329
  interface GoogleCloudDiscoveryengineV1betaUserInfo {
3330
+ /** Optional. IANA time zone, e.g. Europe/Budapest. */
3331
+ timeZone?: string;
3318
3332
  /** User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set. */
3319
3333
  userAgent?: string;
3320
3334
  /** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
@@ -3920,12 +3934,17 @@ declare namespace gapi.client {
3920
3934
  /** Configurations applied to digital parser. */
3921
3935
  digitalParsingConfig?: any;
3922
3936
  /** Configurations applied to layout parser. */
3923
- layoutParsingConfig?: any;
3937
+ layoutParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig;
3924
3938
  /** Configurations applied to OCR parser. Currently it only applies to PDFs. */
3925
3939
  ocrParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig;
3926
3940
  }
3927
3941
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {}
3928
- interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {}
3942
+ interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {
3943
+ /** Optional. If true, the LLM based annotation is added to the image during parsing. */
3944
+ enableImageAnnotation?: boolean;
3945
+ /** Optional. If true, the LLM based annotation is added to the table during parsing. */
3946
+ enableTableAnnotation?: boolean;
3947
+ }
3929
3948
  interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
3930
3949
  /** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
3931
3950
  enhancedDocumentElements?: string[];
@@ -5200,6 +5219,8 @@ declare namespace gapi.client {
5200
5219
  userPseudoId?: string;
5201
5220
  }
5202
5221
  interface GoogleCloudDiscoveryengineV1UserInfo {
5222
+ /** Optional. IANA time zone, e.g. Europe/Budapest. */
5223
+ timeZone?: string;
5203
5224
  /** User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set. */
5204
5225
  userAgent?: string;
5205
5226
  /** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20250320",
3
+ "version": "0.0.20250322",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",