@maxim_mazurok/gapi.client.documentai-v1beta3 0.2.20260915 → 0.2.20260929
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 +21 -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: 20260929
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -424,6 +424,11 @@ declare namespace gapi.client {
|
|
|
424
424
|
/** Integer that indicates the tier of a property. e.g. Invoice has entities that are classified as tier 1 which is the most important, while tier 2 and tier 3 less so. This attribute can be used to filter schema attributes before running eval. e.g. compute F1 score for only tier 1 entities. If not present this attribute should be inferred as 1. */
|
|
425
425
|
tierLevel?: number;
|
|
426
426
|
}
|
|
427
|
+
interface GoogleCloudDocumentaiUiv1beta3GroundingSettings {
|
|
428
|
+
/** The type of grounding to apply. */
|
|
429
|
+
groundingType?:
|
|
430
|
+
'GROUNDING_TYPE_UNSPECIFIED' | 'HARD' | 'OCR_RELAXED' | 'NO_GROUNDING';
|
|
431
|
+
}
|
|
427
432
|
interface GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata {
|
|
428
433
|
/** Whether to enable normalization editing. */
|
|
429
434
|
enableNormalizationEditing?: boolean;
|
|
@@ -518,6 +523,8 @@ declare namespace gapi.client {
|
|
|
518
523
|
genAiModelInfo?: GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo;
|
|
519
524
|
/** Output only. Denotes that this `ProcessorVersion` is managed by Google. */
|
|
520
525
|
googleManaged?: boolean;
|
|
526
|
+
/** Output only. The grounding settings of the processor version. This can only be set using TrainProcessorVersionRequest to override the default grounding settings. */
|
|
527
|
+
groundingSettings?: GoogleCloudDocumentaiUiv1beta3GroundingSettings;
|
|
521
528
|
/** Output only. The KMS key name used for encryption. */
|
|
522
529
|
kmsKeyName?: string;
|
|
523
530
|
/** Output only. The KMS key version with which data is encrypted. */
|
|
@@ -1898,6 +1905,11 @@ declare namespace gapi.client {
|
|
|
1898
1905
|
interface GoogleCloudDocumentaiV1beta3GetDocumentResponse {
|
|
1899
1906
|
document?: GoogleCloudDocumentaiV1beta3Document;
|
|
1900
1907
|
}
|
|
1908
|
+
interface GoogleCloudDocumentaiV1beta3GroundingSettings {
|
|
1909
|
+
/** The type of grounding to apply. */
|
|
1910
|
+
groundingType?:
|
|
1911
|
+
'GROUNDING_TYPE_UNSPECIFIED' | 'HARD' | 'OCR_RELAXED' | 'NO_GROUNDING';
|
|
1912
|
+
}
|
|
1901
1913
|
interface GoogleCloudDocumentaiV1beta3HumanReviewStatus {
|
|
1902
1914
|
/** The name of the operation triggered by the processed document. This field is populated only when the state is `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as the long-running operation returned by ReviewDocument. */
|
|
1903
1915
|
humanReviewOperation?: string;
|
|
@@ -2203,6 +2215,8 @@ declare namespace gapi.client {
|
|
|
2203
2215
|
genAiModelInfo?: GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo;
|
|
2204
2216
|
/** Output only. Denotes that this `ProcessorVersion` is managed by Google. */
|
|
2205
2217
|
googleManaged?: boolean;
|
|
2218
|
+
/** Output only. The grounding settings of the processor version. This can only be set using TrainProcessorVersionRequest to override the default grounding settings. */
|
|
2219
|
+
groundingSettings?: GoogleCloudDocumentaiV1beta3GroundingSettings;
|
|
2206
2220
|
/** Output only. The KMS key name used for encryption. */
|
|
2207
2221
|
kmsKeyName?: string;
|
|
2208
2222
|
/** Output only. The KMS key version with which data is encrypted. */
|
|
@@ -2263,6 +2277,10 @@ declare namespace gapi.client {
|
|
|
2263
2277
|
/** The minimum number of labeled documents in the training dataset required for fine tuning. */
|
|
2264
2278
|
minTrainLabeledDocuments?: number;
|
|
2265
2279
|
}
|
|
2280
|
+
interface GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides {
|
|
2281
|
+
/** Optional. Grounding settings to override the default values. */
|
|
2282
|
+
groundingSettings?: GoogleCloudDocumentaiV1beta3GroundingSettings;
|
|
2283
|
+
}
|
|
2266
2284
|
interface GoogleCloudDocumentaiV1beta3ProcessRequest {
|
|
2267
2285
|
/** The document payload, the content and mime_type fields must be set. */
|
|
2268
2286
|
document?: GoogleCloudDocumentaiV1beta3Document;
|
|
@@ -2431,6 +2449,8 @@ declare namespace gapi.client {
|
|
|
2431
2449
|
inputData?: GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData;
|
|
2432
2450
|
/** Required. The processor version to be created. */
|
|
2433
2451
|
processorVersion?: GoogleCloudDocumentaiV1beta3ProcessorVersion;
|
|
2452
|
+
/** Optional. Options to override structures in the base processor version. */
|
|
2453
|
+
processorVersionOverrides?: GoogleCloudDocumentaiV1beta3ProcessorVersionOverrides;
|
|
2434
2454
|
}
|
|
2435
2455
|
interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions {
|
|
2436
2456
|
/** Optional. Training method to use for CDE training. */
|