@maxim_mazurok/gapi.client.documentai-v1beta3 0.1.20250929 → 0.1.20251013
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 +32 -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=v1beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251013
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -595,8 +595,14 @@ declare namespace gapi.client {
|
|
|
595
595
|
documentLayout?: GoogleCloudDocumentaiV1beta3DocumentDocumentLayout;
|
|
596
596
|
/** A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries. */
|
|
597
597
|
entities?: GoogleCloudDocumentaiV1beta3DocumentEntity[];
|
|
598
|
+
/** The entity revision id that `document.entities` field is based on. If this field is set and `entities_revisions` is not empty, the entities in `document.entities` field are the entities in the entity revision with this id and `document.entity_validation_output` field is the `entity_validation_output` field in this entity revision. */
|
|
599
|
+
entitiesRevisionId?: string;
|
|
600
|
+
/** A list of entity revisions. The entity revisions are appended to the document in the processing order. This field can be used for comparing the entity extraction results at different stages of the processing. */
|
|
601
|
+
entitiesRevisions?: GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision[];
|
|
598
602
|
/** Placeholder. Relationship among Document.entities. */
|
|
599
603
|
entityRelations?: GoogleCloudDocumentaiV1beta3DocumentEntityRelation[];
|
|
604
|
+
/** The entity validation output for the document. This is the validation output for `document.entities` field. */
|
|
605
|
+
entityValidationOutput?: GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput;
|
|
600
606
|
/** Any error that occurred while processing this document. */
|
|
601
607
|
error?: GoogleRpcStatus;
|
|
602
608
|
/** An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml). */
|
|
@@ -768,6 +774,14 @@ declare namespace gapi.client {
|
|
|
768
774
|
/** Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`. */
|
|
769
775
|
type?: string;
|
|
770
776
|
}
|
|
777
|
+
interface GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision {
|
|
778
|
+
/** The entities in this revision. */
|
|
779
|
+
entities?: GoogleCloudDocumentaiV1beta3DocumentEntity[];
|
|
780
|
+
/** The entity validation output for this revision. */
|
|
781
|
+
entityValidationOutput?: GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput;
|
|
782
|
+
/** The revision id. */
|
|
783
|
+
revisionId?: string;
|
|
784
|
+
}
|
|
771
785
|
interface GoogleCloudDocumentaiV1beta3DocumentEntity {
|
|
772
786
|
/** Optional. Confidence of detected Schema entity. Range `[0, 1]`. */
|
|
773
787
|
confidence?: number;
|
|
@@ -809,6 +823,7 @@ declare namespace gapi.client {
|
|
|
809
823
|
integerValue?: number;
|
|
810
824
|
/** Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto */
|
|
811
825
|
moneyValue?: GoogleTypeMoney;
|
|
826
|
+
/** A signature - a graphical representation of a person's name, often used to sign a document. */
|
|
812
827
|
signatureValue?: boolean;
|
|
813
828
|
/** Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format. */
|
|
814
829
|
text?: string;
|
|
@@ -821,6 +836,22 @@ declare namespace gapi.client {
|
|
|
821
836
|
/** Subject entity id. */
|
|
822
837
|
subjectId?: string;
|
|
823
838
|
}
|
|
839
|
+
interface GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput {
|
|
840
|
+
/** The overall result of the validation, true if all applicable rules are valid. */
|
|
841
|
+
passAllRules?: boolean;
|
|
842
|
+
/** The result of each validation rule. */
|
|
843
|
+
validationResults?: GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult[];
|
|
844
|
+
}
|
|
845
|
+
interface GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult {
|
|
846
|
+
/** The description of the validation rule. */
|
|
847
|
+
ruleDescription?: string;
|
|
848
|
+
/** The name of the validation rule. */
|
|
849
|
+
ruleName?: string;
|
|
850
|
+
/** The detailed information of the running the validation process using the entity from the document based on the validation rule. */
|
|
851
|
+
validationDetails?: string;
|
|
852
|
+
/** The result of the validation rule. */
|
|
853
|
+
validationResultType?: string;
|
|
854
|
+
}
|
|
824
855
|
interface GoogleCloudDocumentaiV1beta3DocumentId {
|
|
825
856
|
/** A document id within user-managed Cloud Storage. */
|
|
826
857
|
gcsManagedDocId?: GoogleCloudDocumentaiV1beta3DocumentIdGCSManagedDocumentId;
|