@maxim_mazurok/gapi.client.documentai-v1 0.0.20221017 → 0.0.20221023
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 +13 -3
- package/package.json +1 -1
- package/tests.ts +13 -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: 20221023
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2020,12 +2020,14 @@ declare namespace gapi.client {
|
|
|
2020
2020
|
interface GoogleCloudDocumentaiV1EnableProcessorResponse {
|
|
2021
2021
|
}
|
|
2022
2022
|
interface GoogleCloudDocumentaiV1EntityTypeMetadata {
|
|
2023
|
-
/** Human review labeling config on the
|
|
2023
|
+
/** Human review labeling config on the entity. */
|
|
2024
2024
|
humanReviewLabelingMetadata?: GoogleCloudDocumentaiV1HumanReviewLabelingMetadata;
|
|
2025
|
-
/** Human review config on the entity
|
|
2025
|
+
/** Human review config on the entity. */
|
|
2026
2026
|
humanReviewMetadata?: GoogleCloudDocumentaiV1HumanReviewValidationMetadata;
|
|
2027
2027
|
/** Whether the entity type should be considered as "inactive". */
|
|
2028
2028
|
inactive?: boolean;
|
|
2029
|
+
/** Schema mutability metadata on the entity. */
|
|
2030
|
+
schemaMutabilityMetadata?: GoogleCloudDocumentaiV1SchemaMutabilityMetadata;
|
|
2029
2031
|
}
|
|
2030
2032
|
interface GoogleCloudDocumentaiV1FetchProcessorTypesResponse {
|
|
2031
2033
|
/** The list of processor types. */
|
|
@@ -2176,6 +2178,8 @@ declare namespace gapi.client {
|
|
|
2176
2178
|
humanReviewMetadata?: GoogleCloudDocumentaiV1HumanReviewValidationMetadata;
|
|
2177
2179
|
/** Whether the property should be considered as "inactive". */
|
|
2178
2180
|
inactive?: boolean;
|
|
2181
|
+
/** Schema mutability metadata on the property. */
|
|
2182
|
+
schemaMutabilityMetadata?: GoogleCloudDocumentaiV1SchemaMutabilityMetadata;
|
|
2179
2183
|
}
|
|
2180
2184
|
interface GoogleCloudDocumentaiV1RawDocument {
|
|
2181
2185
|
/** Inline document content. */
|
|
@@ -2207,6 +2211,12 @@ declare namespace gapi.client {
|
|
|
2207
2211
|
/** The state of the review operation. */
|
|
2208
2212
|
state?: string;
|
|
2209
2213
|
}
|
|
2214
|
+
interface GoogleCloudDocumentaiV1SchemaMutabilityMetadata {
|
|
2215
|
+
/** Explicit flag that controls whether the label is editable. */
|
|
2216
|
+
editable?: boolean;
|
|
2217
|
+
/** Full resource name of processor versions that contain this label. e.g. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` */
|
|
2218
|
+
processorVersions?: string[];
|
|
2219
|
+
}
|
|
2210
2220
|
interface GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata {
|
|
2211
2221
|
/** The basic metadata of the long running operation. */
|
|
2212
2222
|
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: 20221023
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -994,6 +994,12 @@ gapi.load('client', async () => {
|
|
|
994
994
|
enableValidation: true,
|
|
995
995
|
},
|
|
996
996
|
inactive: true,
|
|
997
|
+
schemaMutabilityMetadata: {
|
|
998
|
+
editable: true,
|
|
999
|
+
processorVersions: [
|
|
1000
|
+
"Test string"
|
|
1001
|
+
],
|
|
1002
|
+
},
|
|
997
1003
|
},
|
|
998
1004
|
enumValues: {
|
|
999
1005
|
values: [
|
|
@@ -1014,6 +1020,12 @@ gapi.load('client', async () => {
|
|
|
1014
1020
|
enableValidation: true,
|
|
1015
1021
|
},
|
|
1016
1022
|
inactive: true,
|
|
1023
|
+
schemaMutabilityMetadata: {
|
|
1024
|
+
editable: true,
|
|
1025
|
+
processorVersions: [
|
|
1026
|
+
"Test string"
|
|
1027
|
+
],
|
|
1028
|
+
},
|
|
1017
1029
|
},
|
|
1018
1030
|
valueType: "Test string",
|
|
1019
1031
|
}
|