@maxim_mazurok/gapi.client.documentai-v1 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.
- package/index.d.ts +6 -6
- package/package.json +1 -1
- 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=v1
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220919
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -416,7 +416,7 @@ declare namespace gapi.client {
|
|
|
416
416
|
id?: string;
|
|
417
417
|
/** Optional. Deprecated. Use `id` field instead. */
|
|
418
418
|
mentionId?: string;
|
|
419
|
-
/** Optional. Text value
|
|
419
|
+
/** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
|
|
420
420
|
mentionText?: string;
|
|
421
421
|
/**
|
|
422
422
|
* 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
|
|
@@ -895,7 +895,7 @@ declare namespace gapi.client {
|
|
|
895
895
|
id?: string;
|
|
896
896
|
/** Optional. Deprecated. Use `id` field instead. */
|
|
897
897
|
mentionId?: string;
|
|
898
|
-
/** Optional. Text value
|
|
898
|
+
/** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
|
|
899
899
|
mentionText?: string;
|
|
900
900
|
/**
|
|
901
901
|
* 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
|
|
@@ -1526,7 +1526,7 @@ declare namespace gapi.client {
|
|
|
1526
1526
|
id?: string;
|
|
1527
1527
|
/** Optional. Deprecated. Use `id` field instead. */
|
|
1528
1528
|
mentionId?: string;
|
|
1529
|
-
/** Optional. Text value
|
|
1529
|
+
/** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */
|
|
1530
1530
|
mentionText?: string;
|
|
1531
1531
|
/**
|
|
1532
1532
|
* 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
|
|
@@ -1582,6 +1582,8 @@ declare namespace gapi.client {
|
|
|
1582
1582
|
gcsOutputConfig?: GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig;
|
|
1583
1583
|
}
|
|
1584
1584
|
interface GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig {
|
|
1585
|
+
/** Specifies which fields to include in the output documents. */
|
|
1586
|
+
fieldMask?: string;
|
|
1585
1587
|
/** The Cloud Storage uri (a directory) of the output. */
|
|
1586
1588
|
gcsUri?: string;
|
|
1587
1589
|
}
|
|
@@ -1965,8 +1967,6 @@ declare namespace gapi.client {
|
|
|
1965
1967
|
humanReviewMetadata?: GoogleCloudDocumentaiV1HumanReviewValidationMetadata;
|
|
1966
1968
|
/** Whether the entity type should be considered as "inactive". */
|
|
1967
1969
|
inactive?: boolean;
|
|
1968
|
-
/** If set, the properties of this entity type must be prefixed with the parents. */
|
|
1969
|
-
prefixedNamingOnProperties?: boolean;
|
|
1970
1970
|
}
|
|
1971
1971
|
interface GoogleCloudDocumentaiV1FetchProcessorTypesResponse {
|
|
1972
1972
|
/** The list of processor types. */
|
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: 20220919
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -82,6 +82,7 @@ gapi.load('client', async () => {
|
|
|
82
82
|
}, {
|
|
83
83
|
documentOutputConfig: {
|
|
84
84
|
gcsOutputConfig: {
|
|
85
|
+
fieldMask: "Test string",
|
|
85
86
|
gcsUri: "Test string",
|
|
86
87
|
},
|
|
87
88
|
},
|
|
@@ -972,7 +973,6 @@ gapi.load('client', async () => {
|
|
|
972
973
|
enableValidation: true,
|
|
973
974
|
},
|
|
974
975
|
inactive: true,
|
|
975
|
-
prefixedNamingOnProperties: true,
|
|
976
976
|
},
|
|
977
977
|
enumValues: {
|
|
978
978
|
values: [
|
|
@@ -1811,6 +1811,7 @@ gapi.load('client', async () => {
|
|
|
1811
1811
|
}, {
|
|
1812
1812
|
documentOutputConfig: {
|
|
1813
1813
|
gcsOutputConfig: {
|
|
1814
|
+
fieldMask: "Test string",
|
|
1814
1815
|
gcsUri: "Test string",
|
|
1815
1816
|
},
|
|
1816
1817
|
},
|