@maxim_mazurok/gapi.client.documentai-v1beta3 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.
Files changed (3) hide show
  1. package/index.d.ts +13 -3
  2. package/package.json +1 -1
  3. 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=v1beta3
12
- // Revision: 20221017
12
+ // Revision: 20221023
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1949,12 +1949,14 @@ declare namespace gapi.client {
1949
1949
  interface GoogleCloudDocumentaiV1beta3EnableProcessorResponse {
1950
1950
  }
1951
1951
  interface GoogleCloudDocumentaiV1beta3EntityTypeMetadata {
1952
- /** Human review labeling config on the property. */
1952
+ /** Human review labeling config on the entity. */
1953
1953
  humanReviewLabelingMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata;
1954
- /** Human review config on the entity type. */
1954
+ /** Human review config on the entity. */
1955
1955
  humanReviewMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata;
1956
1956
  /** Whether the entity type should be considered as "inactive". */
1957
1957
  inactive?: boolean;
1958
+ /** Schema mutability metadata on the entity. */
1959
+ schemaMutabilityMetadata?: GoogleCloudDocumentaiV1beta3SchemaMutabilityMetadata;
1958
1960
  }
1959
1961
  interface GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse {
1960
1962
  /** The list of processor types. */
@@ -2112,6 +2114,8 @@ declare namespace gapi.client {
2112
2114
  humanReviewMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata;
2113
2115
  /** Whether the property should be considered as "inactive". */
2114
2116
  inactive?: boolean;
2117
+ /** Schema mutability metadata on the property. */
2118
+ schemaMutabilityMetadata?: GoogleCloudDocumentaiV1beta3SchemaMutabilityMetadata;
2115
2119
  }
2116
2120
  interface GoogleCloudDocumentaiV1beta3RawDocument {
2117
2121
  /** Inline document content. */
@@ -2153,6 +2157,12 @@ declare namespace gapi.client {
2153
2157
  /** The state of the review operation. */
2154
2158
  state?: string;
2155
2159
  }
2160
+ interface GoogleCloudDocumentaiV1beta3SchemaMutabilityMetadata {
2161
+ /** Explicit flag that controls whether the label is editable. */
2162
+ editable?: boolean;
2163
+ /** Full resource name of processor versions that contain this label. e.g. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` */
2164
+ processorVersions?: string[];
2165
+ }
2156
2166
  interface GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata {
2157
2167
  /** The basic metadata of the long running operation. */
2158
2168
  commonMetadata?: GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1beta3",
3
- "version": "0.0.20221017",
3
+ "version": "0.0.20221023",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1beta3",
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: 20221023
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -2630,6 +2630,12 @@ gapi.load('client', async () => {
2630
2630
  enableValidation: true,
2631
2631
  },
2632
2632
  inactive: true,
2633
+ schemaMutabilityMetadata: {
2634
+ editable: true,
2635
+ processorVersions: [
2636
+ "Test string"
2637
+ ],
2638
+ },
2633
2639
  },
2634
2640
  enumValues: {
2635
2641
  values: [
@@ -2650,6 +2656,12 @@ gapi.load('client', async () => {
2650
2656
  enableValidation: true,
2651
2657
  },
2652
2658
  inactive: true,
2659
+ schemaMutabilityMetadata: {
2660
+ editable: true,
2661
+ processorVersions: [
2662
+ "Test string"
2663
+ ],
2664
+ },
2653
2665
  },
2654
2666
  valueType: "Test string",
2655
2667
  }