@maxim_mazurok/gapi.client.documentai-v1 0.0.20240212 → 0.0.20240229
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 +8 -4
- 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: 20240229
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -496,7 +496,7 @@ declare namespace gapi.client {
|
|
|
496
496
|
pageRefs?: GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef[];
|
|
497
497
|
}
|
|
498
498
|
interface GoogleCloudDocumentaiV1beta1DocumentPageAnchorPageRef {
|
|
499
|
-
/** Optional. Identifies the bounding polygon of a layout element on the page. */
|
|
499
|
+
/** Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to. */
|
|
500
500
|
boundingPoly?: GoogleCloudDocumentaiV1beta1BoundingPoly;
|
|
501
501
|
/** Optional. Confidence of detected page element, if applicable. Range `[0, 1]`. */
|
|
502
502
|
confidence?: number;
|
|
@@ -982,7 +982,7 @@ declare namespace gapi.client {
|
|
|
982
982
|
pageRefs?: GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef[];
|
|
983
983
|
}
|
|
984
984
|
interface GoogleCloudDocumentaiV1beta2DocumentPageAnchorPageRef {
|
|
985
|
-
/** Optional. Identifies the bounding polygon of a layout element on the page. */
|
|
985
|
+
/** Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to. */
|
|
986
986
|
boundingPoly?: GoogleCloudDocumentaiV1beta2BoundingPoly;
|
|
987
987
|
/** Optional. Confidence of detected page element, if applicable. Range `[0, 1]`. */
|
|
988
988
|
confidence?: number;
|
|
@@ -1738,7 +1738,7 @@ declare namespace gapi.client {
|
|
|
1738
1738
|
pageRefs?: GoogleCloudDocumentaiV1DocumentPageAnchorPageRef[];
|
|
1739
1739
|
}
|
|
1740
1740
|
interface GoogleCloudDocumentaiV1DocumentPageAnchorPageRef {
|
|
1741
|
-
/** Optional. Identifies the bounding polygon of a layout element on the page. */
|
|
1741
|
+
/** Optional. Identifies the bounding polygon of a layout element on the page. If `layout_type` is set, the bounding polygon must be exactly the same to the layout element it's referring to. */
|
|
1742
1742
|
boundingPoly?: GoogleCloudDocumentaiV1BoundingPoly;
|
|
1743
1743
|
/** Optional. Confidence of detected page element, if applicable. Range `[0, 1]`. */
|
|
1744
1744
|
confidence?: number;
|
|
@@ -2008,6 +2008,8 @@ declare namespace gapi.client {
|
|
|
2008
2008
|
values?: string[];
|
|
2009
2009
|
}
|
|
2010
2010
|
interface GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty {
|
|
2011
|
+
/** User defined name for the property. */
|
|
2012
|
+
displayName?: string;
|
|
2011
2013
|
/** The name of the property. Follows the same guidelines as the EntityType name. */
|
|
2012
2014
|
name?: string;
|
|
2013
2015
|
/** Occurrence type limits the number of instances an entity type appears in the document. */
|
|
@@ -2274,6 +2276,8 @@ declare namespace gapi.client {
|
|
|
2274
2276
|
individualPageSelector?: GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector;
|
|
2275
2277
|
/** Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types. */
|
|
2276
2278
|
ocrConfig?: GoogleCloudDocumentaiV1OcrConfig;
|
|
2279
|
+
/** Optional. Override the schema of the ProcessorVersion. Will return an Invalid Argument error if this field is set when the underlying ProcessorVersion doesn't support schema override. */
|
|
2280
|
+
schemaOverride?: GoogleCloudDocumentaiV1DocumentSchema;
|
|
2277
2281
|
}
|
|
2278
2282
|
interface GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector {
|
|
2279
2283
|
/** Optional. Indices of the pages (starting from 1). */
|