@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20220928 → 0.0.20221017
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 +15 -3
- package/package.json +1 -1
- package/tests.ts +73 -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: 20221017
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -622,6 +622,8 @@ declare namespace gapi.client {
|
|
|
622
622
|
headerRows?: GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow[];
|
|
623
623
|
/** Layout for Table. */
|
|
624
624
|
layout?: GoogleCloudDocumentaiV1beta1DocumentPageLayout;
|
|
625
|
+
/** The history of this table. */
|
|
626
|
+
provenance?: GoogleCloudDocumentaiV1beta1DocumentProvenance;
|
|
625
627
|
}
|
|
626
628
|
interface GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell {
|
|
627
629
|
/** How many columns this cell spans. */
|
|
@@ -1126,6 +1128,8 @@ declare namespace gapi.client {
|
|
|
1126
1128
|
headerRows?: GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow[];
|
|
1127
1129
|
/** Layout for Table. */
|
|
1128
1130
|
layout?: GoogleCloudDocumentaiV1beta2DocumentPageLayout;
|
|
1131
|
+
/** The history of this table. */
|
|
1132
|
+
provenance?: GoogleCloudDocumentaiV1beta2DocumentProvenance;
|
|
1129
1133
|
}
|
|
1130
1134
|
interface GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell {
|
|
1131
1135
|
/** How many columns this cell spans. */
|
|
@@ -1544,7 +1548,10 @@ declare namespace gapi.client {
|
|
|
1544
1548
|
gcsOutputConfig?: GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig;
|
|
1545
1549
|
}
|
|
1546
1550
|
interface GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig {
|
|
1547
|
-
/**
|
|
1551
|
+
/**
|
|
1552
|
+
* Specifies which fields to include in the output documents. Only supports top level document and pages field so it must be in the form of `{document_field_name}` or
|
|
1553
|
+
* `pages.{page_field_name}`.
|
|
1554
|
+
*/
|
|
1548
1555
|
fieldMask?: string;
|
|
1549
1556
|
/** The Cloud Storage uri (a directory) of the output. */
|
|
1550
1557
|
gcsUri?: string;
|
|
@@ -1735,6 +1742,8 @@ declare namespace gapi.client {
|
|
|
1735
1742
|
headerRows?: GoogleCloudDocumentaiV1beta3DocumentPageTableTableRow[];
|
|
1736
1743
|
/** Layout for Table. */
|
|
1737
1744
|
layout?: GoogleCloudDocumentaiV1beta3DocumentPageLayout;
|
|
1745
|
+
/** The history of this table. */
|
|
1746
|
+
provenance?: GoogleCloudDocumentaiV1beta3DocumentProvenance;
|
|
1738
1747
|
}
|
|
1739
1748
|
interface GoogleCloudDocumentaiV1beta3DocumentPageTableTableCell {
|
|
1740
1749
|
/** How many columns this cell spans. */
|
|
@@ -2073,7 +2082,10 @@ declare namespace gapi.client {
|
|
|
2073
2082
|
interface GoogleCloudDocumentaiV1beta3ProcessRequest {
|
|
2074
2083
|
/** The document payload, the [content] and [mime_type] fields must be set. */
|
|
2075
2084
|
document?: GoogleCloudDocumentaiV1beta3Document;
|
|
2076
|
-
/**
|
|
2085
|
+
/**
|
|
2086
|
+
* Specifies which fields to include in ProcessResponse's document. Only supports top level document and pages field so it must be in the form of `{document_field_name}` or
|
|
2087
|
+
* `pages.{page_field_name}`.
|
|
2088
|
+
*/
|
|
2077
2089
|
fieldMask?: string;
|
|
2078
2090
|
/** An inline document proto. */
|
|
2079
2091
|
inlineDocument?: GoogleCloudDocumentaiV1beta3Document;
|
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: 20221017
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -760,6 +760,18 @@ gapi.load('client', async () => {
|
|
|
760
760
|
],
|
|
761
761
|
},
|
|
762
762
|
},
|
|
763
|
+
provenance: {
|
|
764
|
+
id: 42,
|
|
765
|
+
parents: [
|
|
766
|
+
{
|
|
767
|
+
id: 42,
|
|
768
|
+
index: 42,
|
|
769
|
+
revision: 42,
|
|
770
|
+
}
|
|
771
|
+
],
|
|
772
|
+
revision: 42,
|
|
773
|
+
type: "Test string",
|
|
774
|
+
},
|
|
763
775
|
}
|
|
764
776
|
],
|
|
765
777
|
tokens: [
|
|
@@ -1566,6 +1578,18 @@ gapi.load('client', async () => {
|
|
|
1566
1578
|
],
|
|
1567
1579
|
},
|
|
1568
1580
|
},
|
|
1581
|
+
provenance: {
|
|
1582
|
+
id: 42,
|
|
1583
|
+
parents: [
|
|
1584
|
+
{
|
|
1585
|
+
id: 42,
|
|
1586
|
+
index: 42,
|
|
1587
|
+
revision: 42,
|
|
1588
|
+
}
|
|
1589
|
+
],
|
|
1590
|
+
revision: 42,
|
|
1591
|
+
type: "Test string",
|
|
1592
|
+
},
|
|
1569
1593
|
}
|
|
1570
1594
|
],
|
|
1571
1595
|
tokens: [
|
|
@@ -2387,6 +2411,18 @@ gapi.load('client', async () => {
|
|
|
2387
2411
|
],
|
|
2388
2412
|
},
|
|
2389
2413
|
},
|
|
2414
|
+
provenance: {
|
|
2415
|
+
id: 42,
|
|
2416
|
+
parents: [
|
|
2417
|
+
{
|
|
2418
|
+
id: 42,
|
|
2419
|
+
index: 42,
|
|
2420
|
+
revision: 42,
|
|
2421
|
+
}
|
|
2422
|
+
],
|
|
2423
|
+
revision: 42,
|
|
2424
|
+
type: "Test string",
|
|
2425
|
+
},
|
|
2390
2426
|
}
|
|
2391
2427
|
],
|
|
2392
2428
|
tokens: [
|
|
@@ -3244,6 +3280,18 @@ gapi.load('client', async () => {
|
|
|
3244
3280
|
],
|
|
3245
3281
|
},
|
|
3246
3282
|
},
|
|
3283
|
+
provenance: {
|
|
3284
|
+
id: 42,
|
|
3285
|
+
parents: [
|
|
3286
|
+
{
|
|
3287
|
+
id: 42,
|
|
3288
|
+
index: 42,
|
|
3289
|
+
revision: 42,
|
|
3290
|
+
}
|
|
3291
|
+
],
|
|
3292
|
+
revision: 42,
|
|
3293
|
+
type: "Test string",
|
|
3294
|
+
},
|
|
3247
3295
|
}
|
|
3248
3296
|
],
|
|
3249
3297
|
tokens: [
|
|
@@ -4108,6 +4156,18 @@ gapi.load('client', async () => {
|
|
|
4108
4156
|
],
|
|
4109
4157
|
},
|
|
4110
4158
|
},
|
|
4159
|
+
provenance: {
|
|
4160
|
+
id: 42,
|
|
4161
|
+
parents: [
|
|
4162
|
+
{
|
|
4163
|
+
id: 42,
|
|
4164
|
+
index: 42,
|
|
4165
|
+
revision: 42,
|
|
4166
|
+
}
|
|
4167
|
+
],
|
|
4168
|
+
revision: 42,
|
|
4169
|
+
type: "Test string",
|
|
4170
|
+
},
|
|
4111
4171
|
}
|
|
4112
4172
|
],
|
|
4113
4173
|
tokens: [
|
|
@@ -4914,6 +4974,18 @@ gapi.load('client', async () => {
|
|
|
4914
4974
|
],
|
|
4915
4975
|
},
|
|
4916
4976
|
},
|
|
4977
|
+
provenance: {
|
|
4978
|
+
id: 42,
|
|
4979
|
+
parents: [
|
|
4980
|
+
{
|
|
4981
|
+
id: 42,
|
|
4982
|
+
index: 42,
|
|
4983
|
+
revision: 42,
|
|
4984
|
+
}
|
|
4985
|
+
],
|
|
4986
|
+
revision: 42,
|
|
4987
|
+
type: "Test string",
|
|
4988
|
+
},
|
|
4917
4989
|
}
|
|
4918
4990
|
],
|
|
4919
4991
|
tokens: [
|