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