@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20230106 → 0.0.20230113
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 +26 -1
- package/package.json +1 -1
- package/tests.ts +31 -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: 20230113
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -109,6 +109,8 @@ declare namespace gapi.client {
|
|
|
109
109
|
interface GoogleCloudDocumentaiUiv1beta3DocumentId {
|
|
110
110
|
gcsManagedDocId?: GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId;
|
|
111
111
|
/** Points to a specific revision of the document if set. */
|
|
112
|
+
revisionRef?: GoogleCloudDocumentaiUiv1beta3RevisionRef;
|
|
113
|
+
/** Points to a specific revision of the document if set. */
|
|
112
114
|
revisionReference?: GoogleCloudDocumentaiUiv1beta3RevisionReference;
|
|
113
115
|
}
|
|
114
116
|
interface GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId {
|
|
@@ -217,6 +219,17 @@ declare namespace gapi.client {
|
|
|
217
219
|
// tslint:disable-next-line:no-empty-interface
|
|
218
220
|
interface GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse {
|
|
219
221
|
}
|
|
222
|
+
interface GoogleCloudDocumentaiUiv1beta3RevisionRef {
|
|
223
|
+
/**
|
|
224
|
+
* Reads the revision generated by the processor version. The format takes the full resource name of processor version.
|
|
225
|
+
* `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
|
|
226
|
+
*/
|
|
227
|
+
latestProcessorVersion?: string;
|
|
228
|
+
/** Reads the revision by the predefined case. */
|
|
229
|
+
revisionCase?: string;
|
|
230
|
+
/** Reads the revision given by the id. */
|
|
231
|
+
revisionId?: string;
|
|
232
|
+
}
|
|
220
233
|
interface GoogleCloudDocumentaiUiv1beta3RevisionReference {
|
|
221
234
|
/** Reads the revision generated by the processor version. */
|
|
222
235
|
latestProcessorVersion?: string;
|
|
@@ -2022,6 +2035,16 @@ declare namespace gapi.client {
|
|
|
2022
2035
|
/** The metrics type for the label. */
|
|
2023
2036
|
metricsType?: string;
|
|
2024
2037
|
}
|
|
2038
|
+
interface GoogleCloudDocumentaiV1beta3EvaluationReference {
|
|
2039
|
+
/** An aggregate of the statistics for the evaluation with fuzzy matching on. */
|
|
2040
|
+
aggregateMetrics?: GoogleCloudDocumentaiV1beta3EvaluationMetrics;
|
|
2041
|
+
/** An aggregate of the statistics for the evaluation with fuzzy matching off. */
|
|
2042
|
+
aggregateMetricsExact?: GoogleCloudDocumentaiV1beta3EvaluationMetrics;
|
|
2043
|
+
/** The resource name of the evaluation. */
|
|
2044
|
+
evaluation?: string;
|
|
2045
|
+
/** The resource name of the Long Running Operation for the evaluation. */
|
|
2046
|
+
operation?: string;
|
|
2047
|
+
}
|
|
2025
2048
|
interface GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse {
|
|
2026
2049
|
/** The list of processor types. */
|
|
2027
2050
|
processorTypes?: GoogleCloudDocumentaiV1beta3ProcessorType[];
|
|
@@ -2142,6 +2165,8 @@ declare namespace gapi.client {
|
|
|
2142
2165
|
kmsKeyName?: string;
|
|
2143
2166
|
/** The KMS key version with which data is encrypted. */
|
|
2144
2167
|
kmsKeyVersionName?: string;
|
|
2168
|
+
/** The most recently invoked evaluation for the processor version. */
|
|
2169
|
+
latestEvaluation?: GoogleCloudDocumentaiV1beta3EvaluationReference;
|
|
2145
2170
|
/** The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}` */
|
|
2146
2171
|
name?: string;
|
|
2147
2172
|
/** The state of the processor version. */
|
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: 20230113
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -5312,6 +5312,36 @@ gapi.load('client', async () => {
|
|
|
5312
5312
|
googleManaged: true,
|
|
5313
5313
|
kmsKeyName: "Test string",
|
|
5314
5314
|
kmsKeyVersionName: "Test string",
|
|
5315
|
+
latestEvaluation: {
|
|
5316
|
+
aggregateMetrics: {
|
|
5317
|
+
f1Score: 42,
|
|
5318
|
+
falseNegativesCount: 42,
|
|
5319
|
+
falsePositivesCount: 42,
|
|
5320
|
+
groundTruthDocumentCount: 42,
|
|
5321
|
+
groundTruthOccurrencesCount: 42,
|
|
5322
|
+
precision: 42,
|
|
5323
|
+
predictedDocumentCount: 42,
|
|
5324
|
+
predictedOccurrencesCount: 42,
|
|
5325
|
+
recall: 42,
|
|
5326
|
+
totalDocumentsCount: 42,
|
|
5327
|
+
truePositivesCount: 42,
|
|
5328
|
+
},
|
|
5329
|
+
aggregateMetricsExact: {
|
|
5330
|
+
f1Score: 42,
|
|
5331
|
+
falseNegativesCount: 42,
|
|
5332
|
+
falsePositivesCount: 42,
|
|
5333
|
+
groundTruthDocumentCount: 42,
|
|
5334
|
+
groundTruthOccurrencesCount: 42,
|
|
5335
|
+
precision: 42,
|
|
5336
|
+
predictedDocumentCount: 42,
|
|
5337
|
+
predictedOccurrencesCount: 42,
|
|
5338
|
+
recall: 42,
|
|
5339
|
+
totalDocumentsCount: 42,
|
|
5340
|
+
truePositivesCount: 42,
|
|
5341
|
+
},
|
|
5342
|
+
evaluation: "Test string",
|
|
5343
|
+
operation: "Test string",
|
|
5344
|
+
},
|
|
5315
5345
|
name: "Test string",
|
|
5316
5346
|
state: "Test string",
|
|
5317
5347
|
},
|