@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20221017 → 0.0.20221027
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 +3 -19
- package/package.json +1 -1
- package/tests.ts +1 -15
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: 20221027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1949,10 +1949,6 @@ declare namespace gapi.client {
|
|
|
1949
1949
|
interface GoogleCloudDocumentaiV1beta3EnableProcessorResponse {
|
|
1950
1950
|
}
|
|
1951
1951
|
interface GoogleCloudDocumentaiV1beta3EntityTypeMetadata {
|
|
1952
|
-
/** Human review labeling config on the property. */
|
|
1953
|
-
humanReviewLabelingMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata;
|
|
1954
|
-
/** Human review config on the entity type. */
|
|
1955
|
-
humanReviewMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata;
|
|
1956
1952
|
/** Whether the entity type should be considered as "inactive". */
|
|
1957
1953
|
inactive?: boolean;
|
|
1958
1954
|
}
|
|
@@ -1974,10 +1970,6 @@ declare namespace gapi.client {
|
|
|
1974
1970
|
/** The URI prefix. */
|
|
1975
1971
|
gcsUriPrefix?: string;
|
|
1976
1972
|
}
|
|
1977
|
-
interface GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata {
|
|
1978
|
-
/** Whether to enable normalization editing. */
|
|
1979
|
-
enableNormalizationEditing?: boolean;
|
|
1980
|
-
}
|
|
1981
1973
|
interface GoogleCloudDocumentaiV1beta3HumanReviewStatus {
|
|
1982
1974
|
/**
|
|
1983
1975
|
* 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
|
|
@@ -1989,12 +1981,6 @@ declare namespace gapi.client {
|
|
|
1989
1981
|
/** A message providing more details about the human review state. */
|
|
1990
1982
|
stateMessage?: string;
|
|
1991
1983
|
}
|
|
1992
|
-
interface GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata {
|
|
1993
|
-
/** The confidence threshold if human review validation is enabled. */
|
|
1994
|
-
confidenceThreshold?: number;
|
|
1995
|
-
/** Whether to enable human review validation. */
|
|
1996
|
-
enableValidation?: boolean;
|
|
1997
|
-
}
|
|
1998
1984
|
interface GoogleCloudDocumentaiV1beta3ListProcessorsResponse {
|
|
1999
1985
|
/** Points to the next processor, otherwise empty. */
|
|
2000
1986
|
nextPageToken?: string;
|
|
@@ -2062,6 +2048,8 @@ declare namespace gapi.client {
|
|
|
2062
2048
|
deprecationInfo?: GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo;
|
|
2063
2049
|
/** The display name of the processor version. */
|
|
2064
2050
|
displayName?: string;
|
|
2051
|
+
/** The schema of the processor version. Describes the output. */
|
|
2052
|
+
documentSchema?: GoogleCloudDocumentaiV1beta3DocumentSchema;
|
|
2065
2053
|
/** Denotes that this ProcessorVersion is managed by google. */
|
|
2066
2054
|
googleManaged?: boolean;
|
|
2067
2055
|
/** The KMS key name used for encryption. */
|
|
@@ -2106,10 +2094,6 @@ declare namespace gapi.client {
|
|
|
2106
2094
|
humanReviewStatus?: GoogleCloudDocumentaiV1beta3HumanReviewStatus;
|
|
2107
2095
|
}
|
|
2108
2096
|
interface GoogleCloudDocumentaiV1beta3PropertyMetadata {
|
|
2109
|
-
/** Human review labeling config on the property. */
|
|
2110
|
-
humanReviewLabelingMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata;
|
|
2111
|
-
/** Human review validation config on the property. */
|
|
2112
|
-
humanReviewMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata;
|
|
2113
2097
|
/** Whether the property should be considered as "inactive". */
|
|
2114
2098
|
inactive?: boolean;
|
|
2115
2099
|
}
|
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: 20221027
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -2622,13 +2622,6 @@ gapi.load('client', async () => {
|
|
|
2622
2622
|
],
|
|
2623
2623
|
displayName: "Test string",
|
|
2624
2624
|
entityTypeMetadata: {
|
|
2625
|
-
humanReviewLabelingMetadata: {
|
|
2626
|
-
enableNormalizationEditing: true,
|
|
2627
|
-
},
|
|
2628
|
-
humanReviewMetadata: {
|
|
2629
|
-
confidenceThreshold: 42,
|
|
2630
|
-
enableValidation: true,
|
|
2631
|
-
},
|
|
2632
2625
|
inactive: true,
|
|
2633
2626
|
},
|
|
2634
2627
|
enumValues: {
|
|
@@ -2642,13 +2635,6 @@ gapi.load('client', async () => {
|
|
|
2642
2635
|
name: "Test string",
|
|
2643
2636
|
occurrenceType: "Test string",
|
|
2644
2637
|
propertyMetadata: {
|
|
2645
|
-
humanReviewLabelingMetadata: {
|
|
2646
|
-
enableNormalizationEditing: true,
|
|
2647
|
-
},
|
|
2648
|
-
humanReviewMetadata: {
|
|
2649
|
-
confidenceThreshold: 42,
|
|
2650
|
-
enableValidation: true,
|
|
2651
|
-
},
|
|
2652
2638
|
inactive: true,
|
|
2653
2639
|
},
|
|
2654
2640
|
valueType: "Test string",
|