@maxim_mazurok/gapi.client.documentai-v1 0.1.20251111 → 0.1.20251213
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 -6
- 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: 20251213
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -218,6 +218,8 @@ declare namespace gapi.client {
|
|
|
218
218
|
description?: string;
|
|
219
219
|
/** Display name to show to users. */
|
|
220
220
|
displayName?: string;
|
|
221
|
+
/** 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. */
|
|
222
|
+
documentPrompt?: string;
|
|
221
223
|
/** Entity types of the schema. */
|
|
222
224
|
entityTypes?: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType[];
|
|
223
225
|
/** Metadata of the schema. */
|
|
@@ -1946,7 +1948,7 @@ declare namespace gapi.client {
|
|
|
1946
1948
|
gcsPrefix?: GoogleCloudDocumentaiV1GcsPrefix;
|
|
1947
1949
|
/** Optional. User specified parameters for the schema generation. */
|
|
1948
1950
|
generateSchemaVersionParams?: GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams;
|
|
1949
|
-
/** The set of documents specified inline. */
|
|
1951
|
+
/** The set of documents specified inline. For each document, its `uri` or `content` field must be set. */
|
|
1950
1952
|
inlineDocuments?: GoogleCloudDocumentaiV1Documents;
|
|
1951
1953
|
/** The set of raw documents. */
|
|
1952
1954
|
rawDocuments?: GoogleCloudDocumentaiV1RawDocuments;
|
|
@@ -2008,7 +2010,7 @@ declare namespace gapi.client {
|
|
|
2008
2010
|
interface GoogleCloudDocumentaiV1NextSchema {
|
|
2009
2011
|
/** Output only. The time when the Schema was created. */
|
|
2010
2012
|
createTime?: string;
|
|
2011
|
-
/**
|
|
2013
|
+
/** Required. The user-defined name of the Schema. */
|
|
2012
2014
|
displayName?: string;
|
|
2013
2015
|
/** Optional. The GCP labels for the Schema. */
|
|
2014
2016
|
labels?: {[P in string]: string};
|
|
@@ -2270,7 +2272,7 @@ declare namespace gapi.client {
|
|
|
2270
2272
|
interface GoogleCloudDocumentaiV1SchemaVersion {
|
|
2271
2273
|
/** Output only. The time when the SchemaVersion was created. */
|
|
2272
2274
|
createTime?: string;
|
|
2273
|
-
/**
|
|
2275
|
+
/** Required. The user-defined name of the SchemaVersion. */
|
|
2274
2276
|
displayName?: string;
|
|
2275
2277
|
/** Optional. The GCP labels for the SchemaVersion. */
|
|
2276
2278
|
labels?: {[P in string]: string};
|
|
@@ -2375,7 +2377,7 @@ declare namespace gapi.client {
|
|
|
2375
2377
|
nextPageToken?: string;
|
|
2376
2378
|
/** A list of operations that matches the specified filter in the request. */
|
|
2377
2379
|
operations?: GoogleLongrunningOperation[];
|
|
2378
|
-
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
2380
|
+
/** 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. */
|
|
2379
2381
|
unreachable?: string[];
|
|
2380
2382
|
}
|
|
2381
2383
|
interface GoogleLongrunningOperation {
|
|
@@ -2587,7 +2589,7 @@ declare namespace gapi.client {
|
|
|
2587
2589
|
prettyPrint?: boolean;
|
|
2588
2590
|
/** 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. */
|
|
2589
2591
|
quotaUser?: string;
|
|
2590
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
2592
|
+
/** 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. */
|
|
2591
2593
|
returnPartialSuccess?: boolean;
|
|
2592
2594
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2593
2595
|
upload_protocol?: string;
|