@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20250805 → 0.0.20250818

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 +21 -1
  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://documentai.googleapis.com/$discovery/rest?version=v1beta3
12
- // Revision: 20250805
12
+ // Revision: 20250818
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -546,6 +546,8 @@ declare namespace gapi.client {
546
546
  textStyles?: GoogleCloudDocumentaiV1beta3DocumentStyle[];
547
547
  /** 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). */
548
548
  uri?: string;
549
+ /** The output of the validation given the document and the validation rules. The output is appended to the document in the processing order. */
550
+ validationOutputs?: GoogleCloudDocumentaiV1beta3DocumentValidationOutput[];
549
551
  }
550
552
  interface GoogleCloudDocumentaiV1beta3DocumentAnnotations {
551
553
  /** The description of the content with this annotation. */
@@ -706,6 +708,8 @@ declare namespace gapi.client {
706
708
  mentionId?: string;
707
709
  /** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
708
710
  mentionText?: string;
711
+ /** Optional. Specifies how the entity's value is obtained. */
712
+ method?: string;
709
713
  /** 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. */
710
714
  normalizedValue?: GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue;
711
715
  /** Optional. Represents the provenance of this entity wrt. the location on the page where it was found. */
@@ -1188,6 +1192,22 @@ declare namespace gapi.client {
1188
1192
  /** 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. */
1189
1193
  textAnchor?: GoogleCloudDocumentaiV1beta3DocumentTextAnchor;
1190
1194
  }
1195
+ interface GoogleCloudDocumentaiV1beta3DocumentValidationOutput {
1196
+ /** The overall result of the validation, true if all applicable rules are valid. */
1197
+ passAllRules?: boolean;
1198
+ /** The result of each validation rule. */
1199
+ validationResults?: GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult[];
1200
+ }
1201
+ interface GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult {
1202
+ /** The description of the validation rule. */
1203
+ ruleDescription?: string;
1204
+ /** The name of the validation rule. */
1205
+ ruleName?: string;
1206
+ /** The detailed information of the running the validation process using the entity from the document based on the validation rule. */
1207
+ validationDetails?: string;
1208
+ /** The result of the validation rule. */
1209
+ validationResultType?: string;
1210
+ }
1191
1211
  interface GoogleCloudDocumentaiV1beta3EnableProcessorMetadata {
1192
1212
  /** The basic metadata of the long-running operation. */
1193
1213
  commonMetadata?: GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1beta3",
3
- "version": "0.0.20250805",
3
+ "version": "0.0.20250818",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1beta3",
5
5
  "repository": {
6
6
  "type": "git",