@maxim_mazurok/gapi.client.documentai-v1 0.0.20250805 → 0.0.20250811
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 +21 -1
- 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://documentai.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250811
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -674,6 +674,8 @@ declare namespace gapi.client {
|
|
|
674
674
|
textStyles?: GoogleCloudDocumentaiV1DocumentStyle[];
|
|
675
675
|
/** Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris). */
|
|
676
676
|
uri?: string;
|
|
677
|
+
/** The output of the validation given the document and the validation rules. The output is appended to the document in the processing order. */
|
|
678
|
+
validationOutputs?: GoogleCloudDocumentaiV1DocumentValidationOutput[];
|
|
677
679
|
}
|
|
678
680
|
interface GoogleCloudDocumentaiV1DocumentChunkedDocument {
|
|
679
681
|
/** List of chunks. */
|
|
@@ -782,6 +784,8 @@ declare namespace gapi.client {
|
|
|
782
784
|
mentionId?: string;
|
|
783
785
|
/** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
|
|
784
786
|
mentionText?: string;
|
|
787
|
+
/** Optional. Specifies how the entity's value is obtained. */
|
|
788
|
+
method?: string;
|
|
785
789
|
/** Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types. */
|
|
786
790
|
normalizedValue?: GoogleCloudDocumentaiV1DocumentEntityNormalizedValue;
|
|
787
791
|
/** Optional. Represents the provenance of this entity wrt. the location on the page where it was found. */
|
|
@@ -1226,6 +1230,22 @@ declare namespace gapi.client {
|
|
|
1226
1230
|
/** Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index. */
|
|
1227
1231
|
textAnchor?: GoogleCloudDocumentaiV1DocumentTextAnchor;
|
|
1228
1232
|
}
|
|
1233
|
+
interface GoogleCloudDocumentaiV1DocumentValidationOutput {
|
|
1234
|
+
/** The overall result of the validation, true if all applicable rules are valid. */
|
|
1235
|
+
passAllRules?: boolean;
|
|
1236
|
+
/** The result of each validation rule. */
|
|
1237
|
+
validationResults?: GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult[];
|
|
1238
|
+
}
|
|
1239
|
+
interface GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult {
|
|
1240
|
+
/** The description of the validation rule. */
|
|
1241
|
+
ruleDescription?: string;
|
|
1242
|
+
/** The name of the validation rule. */
|
|
1243
|
+
ruleName?: string;
|
|
1244
|
+
/** The detailed information of the running the validation process using the entity from the document based on the validation rule. */
|
|
1245
|
+
validationDetails?: string;
|
|
1246
|
+
/** The result of the validation rule. */
|
|
1247
|
+
validationResultType?: string;
|
|
1248
|
+
}
|
|
1229
1249
|
interface GoogleCloudDocumentaiV1EnableProcessorMetadata {
|
|
1230
1250
|
/** The basic metadata of the long-running operation. */
|
|
1231
1251
|
commonMetadata?: GoogleCloudDocumentaiV1CommonOperationMetadata;
|