@maxim_mazurok/gapi.client.documentai-v1 0.0.20221027 → 0.0.20221108

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 +1 -13
  2. package/package.json +1 -1
  3. package/tests.ts +1 -7
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: 20221027
12
+ // Revision: 20221108
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1910,8 +1910,6 @@ declare namespace gapi.client {
1910
1910
  baseTypes?: string[];
1911
1911
  /** User defined name for the type. */
1912
1912
  displayName?: string;
1913
- /** Metadata for the entity type. */
1914
- entityTypeMetadata?: GoogleCloudDocumentaiV1EntityTypeMetadata;
1915
1913
  /**
1916
1914
  * If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently use the
1917
1915
  * `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file.
@@ -1936,8 +1934,6 @@ declare namespace gapi.client {
1936
1934
  name?: string;
1937
1935
  /** Occurrence type limits the number of instances an entity type appears in the document. */
1938
1936
  occurrenceType?: string;
1939
- /** Any additional metadata about the property can be added here. */
1940
- propertyMetadata?: GoogleCloudDocumentaiV1PropertyMetadata;
1941
1937
  /** A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field. */
1942
1938
  valueType?: string;
1943
1939
  }
@@ -2019,10 +2015,6 @@ declare namespace gapi.client {
2019
2015
  // tslint:disable-next-line:no-empty-interface
2020
2016
  interface GoogleCloudDocumentaiV1EnableProcessorResponse {
2021
2017
  }
2022
- interface GoogleCloudDocumentaiV1EntityTypeMetadata {
2023
- /** Whether the entity type should be considered as "inactive". */
2024
- inactive?: boolean;
2025
- }
2026
2018
  interface GoogleCloudDocumentaiV1FetchProcessorTypesResponse {
2027
2019
  /** The list of processor types. */
2028
2020
  processorTypes?: GoogleCloudDocumentaiV1ProcessorType[];
@@ -2157,10 +2149,6 @@ declare namespace gapi.client {
2157
2149
  /** The status of human review on the processed document. */
2158
2150
  humanReviewStatus?: GoogleCloudDocumentaiV1HumanReviewStatus;
2159
2151
  }
2160
- interface GoogleCloudDocumentaiV1PropertyMetadata {
2161
- /** Whether the property should be considered as "inactive". */
2162
- inactive?: boolean;
2163
- }
2164
2152
  interface GoogleCloudDocumentaiV1RawDocument {
2165
2153
  /** Inline document content. */
2166
2154
  content?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1",
3
- "version": "0.0.20221027",
3
+ "version": "0.0.20221108",
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: 20221027
6
+ // Revision: 20221108
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -985,9 +985,6 @@ gapi.load('client', async () => {
985
985
  "Test string"
986
986
  ],
987
987
  displayName: "Test string",
988
- entityTypeMetadata: {
989
- inactive: true,
990
- },
991
988
  enumValues: {
992
989
  values: [
993
990
  "Test string"
@@ -998,9 +995,6 @@ gapi.load('client', async () => {
998
995
  {
999
996
  name: "Test string",
1000
997
  occurrenceType: "Test string",
1001
- propertyMetadata: {
1002
- inactive: true,
1003
- },
1004
998
  valueType: "Test string",
1005
999
  }
1006
1000
  ],