@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20220912 → 0.0.20220919

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 +6 -6
  2. package/package.json +1 -1
  3. package/tests.ts +3 -2
package/index.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
11
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
12
  // Generated from: https://documentai.googleapis.com/$discovery/rest?version=v1beta3
13
- // Revision: 20220912
13
+ // Revision: 20220919
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -386,7 +386,7 @@ declare namespace gapi.client {
386
386
  id?: string;
387
387
  /** Optional. Deprecated. Use `id` field instead. */
388
388
  mentionId?: string;
389
- /** Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty. */
389
+ /** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
390
390
  mentionText?: string;
391
391
  /**
392
392
  * Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only
@@ -865,7 +865,7 @@ declare namespace gapi.client {
865
865
  id?: string;
866
866
  /** Optional. Deprecated. Use `id` field instead. */
867
867
  mentionId?: string;
868
- /** Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty. */
868
+ /** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
869
869
  mentionText?: string;
870
870
  /**
871
871
  * Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only
@@ -1455,7 +1455,7 @@ declare namespace gapi.client {
1455
1455
  id?: string;
1456
1456
  /** Optional. Deprecated. Use `id` field instead. */
1457
1457
  mentionId?: string;
1458
- /** Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the entity is not present in the document, this field will be empty. */
1458
+ /** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
1459
1459
  mentionText?: string;
1460
1460
  /**
1461
1461
  * Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only
@@ -1511,6 +1511,8 @@ declare namespace gapi.client {
1511
1511
  gcsOutputConfig?: GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig;
1512
1512
  }
1513
1513
  interface GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig {
1514
+ /** Specifies which fields to include in the output documents. */
1515
+ fieldMask?: string;
1514
1516
  /** The Cloud Storage uri (a directory) of the output. */
1515
1517
  gcsUri?: string;
1516
1518
  }
@@ -1894,8 +1896,6 @@ declare namespace gapi.client {
1894
1896
  humanReviewMetadata?: GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata;
1895
1897
  /** Whether the entity type should be considered as "inactive". */
1896
1898
  inactive?: boolean;
1897
- /** If set, the properties of this entity type must be prefixed with the parents. */
1898
- prefixedNamingOnProperties?: boolean;
1899
1899
  }
1900
1900
  interface GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse {
1901
1901
  /** The list of processor types. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1beta3",
3
- "version": "0.0.20220912",
3
+ "version": "0.0.20220919",
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: 20220912
6
+ // Revision: 20220919
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -75,6 +75,7 @@ gapi.load('client', async () => {
75
75
  }, {
76
76
  documentOutputConfig: {
77
77
  gcsOutputConfig: {
78
+ fieldMask: "Test string",
78
79
  gcsUri: "Test string",
79
80
  },
80
81
  },
@@ -2566,7 +2567,6 @@ gapi.load('client', async () => {
2566
2567
  enableValidation: true,
2567
2568
  },
2568
2569
  inactive: true,
2569
- prefixedNamingOnProperties: true,
2570
2570
  },
2571
2571
  enumValues: {
2572
2572
  values: [
@@ -3405,6 +3405,7 @@ gapi.load('client', async () => {
3405
3405
  }, {
3406
3406
  documentOutputConfig: {
3407
3407
  gcsOutputConfig: {
3408
+ fieldMask: "Test string",
3408
3409
  gcsUri: "Test string",
3409
3410
  },
3410
3411
  },