@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20230714 → 0.0.20230719
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 +10 -2
- package/package.json +1 -1
- package/tests.ts +49 -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:
|
|
12
|
+
// Revision: 20230719
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1978,6 +1978,9 @@ declare namespace gapi.client {
|
|
|
1978
1978
|
/** The set of documents that match the specified Cloud Storage `gcs_prefix`. */
|
|
1979
1979
|
gcsPrefix?:
|
|
1980
1980
|
GoogleCloudDocumentaiV1beta3GcsPrefix;
|
|
1981
|
+
/** The set of documents specified inline. */
|
|
1982
|
+
rawDocuments?:
|
|
1983
|
+
GoogleCloudDocumentaiV1beta3RawDocuments;
|
|
1981
1984
|
}
|
|
1982
1985
|
interface GoogleCloudDocumentaiV1beta3BatchProcessMetadata {
|
|
1983
1986
|
/** The creation time of the operation. */
|
|
@@ -3315,7 +3318,7 @@ declare namespace gapi.client {
|
|
|
3315
3318
|
/** The schema of the processor version. Describes the output. */
|
|
3316
3319
|
documentSchema?:
|
|
3317
3320
|
GoogleCloudDocumentaiV1beta3DocumentSchema;
|
|
3318
|
-
/** Denotes that this `ProcessorVersion` is managed by Google. */
|
|
3321
|
+
/** Output only. Denotes that this `ProcessorVersion` is managed by Google. */
|
|
3319
3322
|
googleManaged?:
|
|
3320
3323
|
boolean;
|
|
3321
3324
|
/** The KMS key name used for encryption. */
|
|
@@ -3395,6 +3398,11 @@ declare namespace gapi.client {
|
|
|
3395
3398
|
mimeType?:
|
|
3396
3399
|
string;
|
|
3397
3400
|
}
|
|
3401
|
+
interface GoogleCloudDocumentaiV1beta3RawDocuments {
|
|
3402
|
+
/** Specifies raw document content and mime type. */
|
|
3403
|
+
documents?:
|
|
3404
|
+
GoogleCloudDocumentaiV1beta3RawDocument[];
|
|
3405
|
+
}
|
|
3398
3406
|
interface GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata {
|
|
3399
3407
|
/** The basic metadata of the long-running operation. */
|
|
3400
3408
|
commonMetadata?:
|
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: 20230719
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -96,6 +96,14 @@ gapi.load('client', async () => {
|
|
|
96
96
|
gcsPrefix: {
|
|
97
97
|
gcsUriPrefix: "Test string",
|
|
98
98
|
},
|
|
99
|
+
rawDocuments: {
|
|
100
|
+
documents: [
|
|
101
|
+
{
|
|
102
|
+
content: "Test string",
|
|
103
|
+
mimeType: "Test string",
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
},
|
|
99
107
|
},
|
|
100
108
|
outputConfig: {
|
|
101
109
|
gcsDestination: "Test string",
|
|
@@ -1966,6 +1974,14 @@ gapi.load('client', async () => {
|
|
|
1966
1974
|
gcsPrefix: {
|
|
1967
1975
|
gcsUriPrefix: "Test string",
|
|
1968
1976
|
},
|
|
1977
|
+
rawDocuments: {
|
|
1978
|
+
documents: [
|
|
1979
|
+
{
|
|
1980
|
+
content: "Test string",
|
|
1981
|
+
mimeType: "Test string",
|
|
1982
|
+
}
|
|
1983
|
+
],
|
|
1984
|
+
},
|
|
1969
1985
|
},
|
|
1970
1986
|
datasetSplit: "Test string",
|
|
1971
1987
|
}
|
|
@@ -3779,6 +3795,14 @@ gapi.load('client', async () => {
|
|
|
3779
3795
|
gcsPrefix: {
|
|
3780
3796
|
gcsUriPrefix: "Test string",
|
|
3781
3797
|
},
|
|
3798
|
+
rawDocuments: {
|
|
3799
|
+
documents: [
|
|
3800
|
+
{
|
|
3801
|
+
content: "Test string",
|
|
3802
|
+
mimeType: "Test string",
|
|
3803
|
+
}
|
|
3804
|
+
],
|
|
3805
|
+
},
|
|
3782
3806
|
},
|
|
3783
3807
|
outputConfig: {
|
|
3784
3808
|
gcsDestination: "Test string",
|
|
@@ -3826,6 +3850,14 @@ gapi.load('client', async () => {
|
|
|
3826
3850
|
gcsPrefix: {
|
|
3827
3851
|
gcsUriPrefix: "Test string",
|
|
3828
3852
|
},
|
|
3853
|
+
rawDocuments: {
|
|
3854
|
+
documents: [
|
|
3855
|
+
{
|
|
3856
|
+
content: "Test string",
|
|
3857
|
+
mimeType: "Test string",
|
|
3858
|
+
}
|
|
3859
|
+
],
|
|
3860
|
+
},
|
|
3829
3861
|
},
|
|
3830
3862
|
});
|
|
3831
3863
|
/** Gets a processor version detail. */
|
|
@@ -5621,6 +5653,14 @@ gapi.load('client', async () => {
|
|
|
5621
5653
|
gcsPrefix: {
|
|
5622
5654
|
gcsUriPrefix: "Test string",
|
|
5623
5655
|
},
|
|
5656
|
+
rawDocuments: {
|
|
5657
|
+
documents: [
|
|
5658
|
+
{
|
|
5659
|
+
content: "Test string",
|
|
5660
|
+
mimeType: "Test string",
|
|
5661
|
+
}
|
|
5662
|
+
],
|
|
5663
|
+
},
|
|
5624
5664
|
},
|
|
5625
5665
|
trainingDocuments: {
|
|
5626
5666
|
gcsDocuments: {
|
|
@@ -5634,6 +5674,14 @@ gapi.load('client', async () => {
|
|
|
5634
5674
|
gcsPrefix: {
|
|
5635
5675
|
gcsUriPrefix: "Test string",
|
|
5636
5676
|
},
|
|
5677
|
+
rawDocuments: {
|
|
5678
|
+
documents: [
|
|
5679
|
+
{
|
|
5680
|
+
content: "Test string",
|
|
5681
|
+
mimeType: "Test string",
|
|
5682
|
+
}
|
|
5683
|
+
],
|
|
5684
|
+
},
|
|
5637
5685
|
},
|
|
5638
5686
|
},
|
|
5639
5687
|
processorVersion: {
|