@maxim_mazurok/gapi.client.documentai-v1 0.0.20230127 → 0.0.20230129
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 +31 -1
- package/package.json +1 -1
- package/tests.ts +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: 20230129
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2054,10 +2054,18 @@ declare namespace gapi.client {
|
|
|
2054
2054
|
// tslint:disable-next-line:no-empty-interface
|
|
2055
2055
|
interface GoogleCloudDocumentaiV1EnableProcessorResponse {
|
|
2056
2056
|
}
|
|
2057
|
+
interface GoogleCloudDocumentaiV1EvaluateProcessorVersionMetadata {
|
|
2058
|
+
/** The basic metadata of the long running operation. */
|
|
2059
|
+
commonMetadata?: GoogleCloudDocumentaiV1CommonOperationMetadata;
|
|
2060
|
+
}
|
|
2057
2061
|
interface GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest {
|
|
2058
2062
|
/** Optional. The documents used in the evaluation. If unspecified, use the processor's dataset as evaluation input. */
|
|
2059
2063
|
evaluationDocuments?: GoogleCloudDocumentaiV1BatchDocumentsInputConfig;
|
|
2060
2064
|
}
|
|
2065
|
+
interface GoogleCloudDocumentaiV1EvaluateProcessorVersionResponse {
|
|
2066
|
+
/** The resource name of the created evaluation. */
|
|
2067
|
+
evaluation?: string;
|
|
2068
|
+
}
|
|
2061
2069
|
interface GoogleCloudDocumentaiV1Evaluation {
|
|
2062
2070
|
/** Metrics for all the entities in aggregate. */
|
|
2063
2071
|
allEntitiesMetrics?: GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics;
|
|
@@ -2325,6 +2333,24 @@ declare namespace gapi.client {
|
|
|
2325
2333
|
// tslint:disable-next-line:no-empty-interface
|
|
2326
2334
|
interface GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse {
|
|
2327
2335
|
}
|
|
2336
|
+
interface GoogleCloudDocumentaiV1TrainProcessorVersionMetadata {
|
|
2337
|
+
/** The basic metadata of the long running operation. */
|
|
2338
|
+
commonMetadata?: GoogleCloudDocumentaiV1CommonOperationMetadata;
|
|
2339
|
+
/** The test dataset validation information. */
|
|
2340
|
+
testDatasetValidation?: GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation;
|
|
2341
|
+
/** The training dataset validation information. */
|
|
2342
|
+
trainingDatasetValidation?: GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation;
|
|
2343
|
+
}
|
|
2344
|
+
interface GoogleCloudDocumentaiV1TrainProcessorVersionMetadataDatasetValidation {
|
|
2345
|
+
/** The total number of dataset errors. */
|
|
2346
|
+
datasetErrorCount?: number;
|
|
2347
|
+
/** Error information for the dataset as a whole. A maximum of 10 dataset errors will be returned. A single dataset error is terminal for training. */
|
|
2348
|
+
datasetErrors?: GoogleRpcStatus[];
|
|
2349
|
+
/** The total number of document errors. */
|
|
2350
|
+
documentErrorCount?: number;
|
|
2351
|
+
/** Error information pertaining to specific documents. A maximum of 10 document errors will be returned. Any document with errors will not be used throughout training. */
|
|
2352
|
+
documentErrors?: GoogleRpcStatus[];
|
|
2353
|
+
}
|
|
2328
2354
|
interface GoogleCloudDocumentaiV1TrainProcessorVersionRequest {
|
|
2329
2355
|
/**
|
|
2330
2356
|
* Optional. The processor version to use as a base for training. This processor version must be a child of `parent`. Format:
|
|
@@ -2344,6 +2370,10 @@ declare namespace gapi.client {
|
|
|
2344
2370
|
/** The documents used for training the new version. */
|
|
2345
2371
|
trainingDocuments?: GoogleCloudDocumentaiV1BatchDocumentsInputConfig;
|
|
2346
2372
|
}
|
|
2373
|
+
interface GoogleCloudDocumentaiV1TrainProcessorVersionResponse {
|
|
2374
|
+
/** The resource name of the processor version produced by training. */
|
|
2375
|
+
processorVersion?: string;
|
|
2376
|
+
}
|
|
2347
2377
|
interface GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata {
|
|
2348
2378
|
/** The basic metadata of the long running operation. */
|
|
2349
2379
|
commonMetadata?: GoogleCloudDocumentaiV1CommonOperationMetadata;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230129
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|