@maxim_mazurok/gapi.client.documentai-v1 0.0.20221027 → 0.0.20221106
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 +19 -3
- package/package.json +1 -1
- package/tests.ts +15 -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: 20221106
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2020,6 +2020,10 @@ declare namespace gapi.client {
|
|
|
2020
2020
|
interface GoogleCloudDocumentaiV1EnableProcessorResponse {
|
|
2021
2021
|
}
|
|
2022
2022
|
interface GoogleCloudDocumentaiV1EntityTypeMetadata {
|
|
2023
|
+
/** Human review labeling config on the property. */
|
|
2024
|
+
humanReviewLabelingMetadata?: GoogleCloudDocumentaiV1HumanReviewLabelingMetadata;
|
|
2025
|
+
/** Human review config on the entity type. */
|
|
2026
|
+
humanReviewMetadata?: GoogleCloudDocumentaiV1HumanReviewValidationMetadata;
|
|
2023
2027
|
/** Whether the entity type should be considered as "inactive". */
|
|
2024
2028
|
inactive?: boolean;
|
|
2025
2029
|
}
|
|
@@ -2041,6 +2045,10 @@ declare namespace gapi.client {
|
|
|
2041
2045
|
/** The URI prefix. */
|
|
2042
2046
|
gcsUriPrefix?: string;
|
|
2043
2047
|
}
|
|
2048
|
+
interface GoogleCloudDocumentaiV1HumanReviewLabelingMetadata {
|
|
2049
|
+
/** Whether to enable normalization editing. */
|
|
2050
|
+
enableNormalizationEditing?: boolean;
|
|
2051
|
+
}
|
|
2044
2052
|
interface GoogleCloudDocumentaiV1HumanReviewStatus {
|
|
2045
2053
|
/**
|
|
2046
2054
|
* 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
|
|
@@ -2052,6 +2060,12 @@ declare namespace gapi.client {
|
|
|
2052
2060
|
/** A message providing more details about the human review state. */
|
|
2053
2061
|
stateMessage?: string;
|
|
2054
2062
|
}
|
|
2063
|
+
interface GoogleCloudDocumentaiV1HumanReviewValidationMetadata {
|
|
2064
|
+
/** The confidence threshold if human review validation is enabled. */
|
|
2065
|
+
confidenceThreshold?: number;
|
|
2066
|
+
/** Whether to enable human review validation. */
|
|
2067
|
+
enableValidation?: boolean;
|
|
2068
|
+
}
|
|
2055
2069
|
interface GoogleCloudDocumentaiV1ListProcessorsResponse {
|
|
2056
2070
|
/** Points to the next processor, otherwise empty. */
|
|
2057
2071
|
nextPageToken?: string;
|
|
@@ -2119,8 +2133,6 @@ declare namespace gapi.client {
|
|
|
2119
2133
|
deprecationInfo?: GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo;
|
|
2120
2134
|
/** The display name of the processor version. */
|
|
2121
2135
|
displayName?: string;
|
|
2122
|
-
/** The schema of the processor version. Describes the output. */
|
|
2123
|
-
documentSchema?: GoogleCloudDocumentaiV1DocumentSchema;
|
|
2124
2136
|
/** Denotes that this ProcessorVersion is managed by google. */
|
|
2125
2137
|
googleManaged?: boolean;
|
|
2126
2138
|
/** The KMS key name used for encryption. */
|
|
@@ -2158,6 +2170,10 @@ declare namespace gapi.client {
|
|
|
2158
2170
|
humanReviewStatus?: GoogleCloudDocumentaiV1HumanReviewStatus;
|
|
2159
2171
|
}
|
|
2160
2172
|
interface GoogleCloudDocumentaiV1PropertyMetadata {
|
|
2173
|
+
/** Human review labeling config on the property. */
|
|
2174
|
+
humanReviewLabelingMetadata?: GoogleCloudDocumentaiV1HumanReviewLabelingMetadata;
|
|
2175
|
+
/** Human review validation config on the property. */
|
|
2176
|
+
humanReviewMetadata?: GoogleCloudDocumentaiV1HumanReviewValidationMetadata;
|
|
2161
2177
|
/** Whether the property should be considered as "inactive". */
|
|
2162
2178
|
inactive?: boolean;
|
|
2163
2179
|
}
|
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: 20221106
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -986,6 +986,13 @@ gapi.load('client', async () => {
|
|
|
986
986
|
],
|
|
987
987
|
displayName: "Test string",
|
|
988
988
|
entityTypeMetadata: {
|
|
989
|
+
humanReviewLabelingMetadata: {
|
|
990
|
+
enableNormalizationEditing: true,
|
|
991
|
+
},
|
|
992
|
+
humanReviewMetadata: {
|
|
993
|
+
confidenceThreshold: 42,
|
|
994
|
+
enableValidation: true,
|
|
995
|
+
},
|
|
989
996
|
inactive: true,
|
|
990
997
|
},
|
|
991
998
|
enumValues: {
|
|
@@ -999,6 +1006,13 @@ gapi.load('client', async () => {
|
|
|
999
1006
|
name: "Test string",
|
|
1000
1007
|
occurrenceType: "Test string",
|
|
1001
1008
|
propertyMetadata: {
|
|
1009
|
+
humanReviewLabelingMetadata: {
|
|
1010
|
+
enableNormalizationEditing: true,
|
|
1011
|
+
},
|
|
1012
|
+
humanReviewMetadata: {
|
|
1013
|
+
confidenceThreshold: 42,
|
|
1014
|
+
enableValidation: true,
|
|
1015
|
+
},
|
|
1002
1016
|
inactive: true,
|
|
1003
1017
|
},
|
|
1004
1018
|
valueType: "Test string",
|