@maxim_mazurok/gapi.client.discoveryengine-v1beta 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.
- package/index.d.ts +26 -7
- 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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250322
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -878,12 +878,17 @@ declare namespace gapi.client {
|
|
|
878
878
|
/** Configurations applied to digital parser. */
|
|
879
879
|
digitalParsingConfig?: any;
|
|
880
880
|
/** Configurations applied to layout parser. */
|
|
881
|
-
layoutParsingConfig?:
|
|
881
|
+
layoutParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
|
|
882
882
|
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
883
883
|
ocrParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
884
884
|
}
|
|
885
885
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
|
|
886
|
-
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
886
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
887
|
+
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
888
|
+
enableImageAnnotation?: boolean;
|
|
889
|
+
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
890
|
+
enableTableAnnotation?: boolean;
|
|
891
|
+
}
|
|
887
892
|
interface GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
888
893
|
/** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
|
|
889
894
|
enhancedDocumentElements?: string[];
|
|
@@ -1855,6 +1860,8 @@ declare namespace gapi.client {
|
|
|
1855
1860
|
updateTime?: string;
|
|
1856
1861
|
}
|
|
1857
1862
|
interface GoogleCloudDiscoveryengineV1alphaUserInfo {
|
|
1863
|
+
/** Optional. IANA time zone, e.g. Europe/Budapest. */
|
|
1864
|
+
timeZone?: string;
|
|
1858
1865
|
/** 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. */
|
|
1859
1866
|
userAgent?: string;
|
|
1860
1867
|
/** 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. */
|
|
@@ -3038,12 +3045,17 @@ declare namespace gapi.client {
|
|
|
3038
3045
|
/** Configurations applied to digital parser. */
|
|
3039
3046
|
digitalParsingConfig?: any;
|
|
3040
3047
|
/** Configurations applied to layout parser. */
|
|
3041
|
-
layoutParsingConfig?:
|
|
3048
|
+
layoutParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig;
|
|
3042
3049
|
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
3043
3050
|
ocrParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
3044
3051
|
}
|
|
3045
3052
|
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig {}
|
|
3046
|
-
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
3053
|
+
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
3054
|
+
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
3055
|
+
enableImageAnnotation?: boolean;
|
|
3056
|
+
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
3057
|
+
enableTableAnnotation?: boolean;
|
|
3058
|
+
}
|
|
3047
3059
|
interface GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
3048
3060
|
/** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
|
|
3049
3061
|
enhancedDocumentElements?: string[];
|
|
@@ -4728,6 +4740,8 @@ declare namespace gapi.client {
|
|
|
4728
4740
|
userPseudoId?: string;
|
|
4729
4741
|
}
|
|
4730
4742
|
interface GoogleCloudDiscoveryengineV1betaUserInfo {
|
|
4743
|
+
/** Optional. IANA time zone, e.g. Europe/Budapest. */
|
|
4744
|
+
timeZone?: string;
|
|
4731
4745
|
/** 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. */
|
|
4732
4746
|
userAgent?: string;
|
|
4733
4747
|
/** 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. */
|
|
@@ -5016,12 +5030,17 @@ declare namespace gapi.client {
|
|
|
5016
5030
|
/** Configurations applied to digital parser. */
|
|
5017
5031
|
digitalParsingConfig?: any;
|
|
5018
5032
|
/** Configurations applied to layout parser. */
|
|
5019
|
-
layoutParsingConfig?:
|
|
5033
|
+
layoutParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig;
|
|
5020
5034
|
/** Configurations applied to OCR parser. Currently it only applies to PDFs. */
|
|
5021
5035
|
ocrParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig;
|
|
5022
5036
|
}
|
|
5023
5037
|
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig {}
|
|
5024
|
-
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
5038
|
+
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig {
|
|
5039
|
+
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
5040
|
+
enableImageAnnotation?: boolean;
|
|
5041
|
+
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
5042
|
+
enableTableAnnotation?: boolean;
|
|
5043
|
+
}
|
|
5025
5044
|
interface GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig {
|
|
5026
5045
|
/** [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to `layout_parsing_config`. */
|
|
5027
5046
|
enhancedDocumentElements?: string[];
|