@maxim_mazurok/gapi.client.documentai-v1beta3 0.1.20251111 → 0.1.20251202
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 +10 -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=v1beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251202
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -222,6 +222,8 @@ declare namespace gapi.client {
|
|
|
222
222
|
description?: string;
|
|
223
223
|
/** Display name to show to users. */
|
|
224
224
|
displayName?: string;
|
|
225
|
+
/** Optional. Document level prompt provided by the user. This custom text is injected into the AI model's prompt to provide extra, document-wide guidance for processing. */
|
|
226
|
+
documentPrompt?: string;
|
|
225
227
|
/** Entity types of the schema. */
|
|
226
228
|
entityTypes?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType[];
|
|
227
229
|
/** Metadata of the schema. */
|
|
@@ -1718,7 +1720,7 @@ declare namespace gapi.client {
|
|
|
1718
1720
|
gcsPrefix?: GoogleCloudDocumentaiV1beta3GcsPrefix;
|
|
1719
1721
|
/** Optional. User specified parameters for the schema generation. */
|
|
1720
1722
|
generateSchemaVersionParams?: GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams;
|
|
1721
|
-
/** The set of documents specified inline. */
|
|
1723
|
+
/** The set of documents specified inline. For each document, its `uri` or `content` field must be set. */
|
|
1722
1724
|
inlineDocuments?: GoogleCloudDocumentaiV1beta3Documents;
|
|
1723
1725
|
/** The set of raw documents. */
|
|
1724
1726
|
rawDocuments?: GoogleCloudDocumentaiV1beta3RawDocuments;
|
|
@@ -1779,6 +1781,8 @@ declare namespace gapi.client {
|
|
|
1779
1781
|
batchInputConfig?: GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig;
|
|
1780
1782
|
/** Target dataset split where the documents must be stored. */
|
|
1781
1783
|
datasetSplit?: string;
|
|
1784
|
+
/** Optional. The type of the documents to be imported in this batch. This will be used to auto-label the documents with a single entity of the provided type. This field can only be used with a classifier or splitter processor. Providing this field is mutually exclusive with `entities` and `auto_labeling_config`. */
|
|
1785
|
+
documentType?: string;
|
|
1782
1786
|
}
|
|
1783
1787
|
interface GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig {
|
|
1784
1788
|
/** Ratio of training dataset split. */
|
|
@@ -1938,6 +1942,8 @@ declare namespace gapi.client {
|
|
|
1938
1942
|
enableLlmLayoutParsing?: boolean;
|
|
1939
1943
|
/** Optional. Whether to include table annotations in layout parser response. */
|
|
1940
1944
|
enableTableAnnotation?: boolean;
|
|
1945
|
+
/** Optional. Whether to split table. */
|
|
1946
|
+
enableTableSplit?: boolean;
|
|
1941
1947
|
/** Optional. Whether to include bounding boxes in layout parser processor response. */
|
|
1942
1948
|
returnBoundingBoxes?: boolean;
|
|
1943
1949
|
/** Optional. Whether to include images in layout parser processor response. */
|
|
@@ -2378,7 +2384,7 @@ declare namespace gapi.client {
|
|
|
2378
2384
|
nextPageToken?: string;
|
|
2379
2385
|
/** A list of operations that matches the specified filter in the request. */
|
|
2380
2386
|
operations?: GoogleLongrunningOperation[];
|
|
2381
|
-
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
2387
|
+
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. */
|
|
2382
2388
|
unreachable?: string[];
|
|
2383
2389
|
}
|
|
2384
2390
|
interface GoogleLongrunningOperation {
|
|
@@ -2561,7 +2567,7 @@ declare namespace gapi.client {
|
|
|
2561
2567
|
prettyPrint?: boolean;
|
|
2562
2568
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2563
2569
|
quotaUser?: string;
|
|
2564
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
2570
|
+
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
|
|
2565
2571
|
returnPartialSuccess?: boolean;
|
|
2566
2572
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2567
2573
|
upload_protocol?: string;
|