@maxim_mazurok/gapi.client.documentai-v1 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.
Files changed (3) hide show
  1. package/index.d.ts +15 -3
  2. package/package.json +1 -1
  3. package/tests.ts +37 -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=v1
12
- // Revision: 20220928
12
+ // Revision: 20221017
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -652,6 +652,8 @@ declare namespace gapi.client {
652
652
  headerRows?: GoogleCloudDocumentaiV1beta1DocumentPageTableTableRow[];
653
653
  /** Layout for Table. */
654
654
  layout?: GoogleCloudDocumentaiV1beta1DocumentPageLayout;
655
+ /** The history of this table. */
656
+ provenance?: GoogleCloudDocumentaiV1beta1DocumentProvenance;
655
657
  }
656
658
  interface GoogleCloudDocumentaiV1beta1DocumentPageTableTableCell {
657
659
  /** How many columns this cell spans. */
@@ -1156,6 +1158,8 @@ declare namespace gapi.client {
1156
1158
  headerRows?: GoogleCloudDocumentaiV1beta2DocumentPageTableTableRow[];
1157
1159
  /** Layout for Table. */
1158
1160
  layout?: GoogleCloudDocumentaiV1beta2DocumentPageLayout;
1161
+ /** The history of this table. */
1162
+ provenance?: GoogleCloudDocumentaiV1beta2DocumentProvenance;
1159
1163
  }
1160
1164
  interface GoogleCloudDocumentaiV1beta2DocumentPageTableTableCell {
1161
1165
  /** How many columns this cell spans. */
@@ -1615,7 +1619,10 @@ declare namespace gapi.client {
1615
1619
  gcsOutputConfig?: GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig;
1616
1620
  }
1617
1621
  interface GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig {
1618
- /** Specifies which fields to include in the output documents. */
1622
+ /**
1623
+ * 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
1624
+ * `pages.{page_field_name}`.
1625
+ */
1619
1626
  fieldMask?: string;
1620
1627
  /** The Cloud Storage uri (a directory) of the output. */
1621
1628
  gcsUri?: string;
@@ -1806,6 +1813,8 @@ declare namespace gapi.client {
1806
1813
  headerRows?: GoogleCloudDocumentaiV1DocumentPageTableTableRow[];
1807
1814
  /** Layout for Table. */
1808
1815
  layout?: GoogleCloudDocumentaiV1DocumentPageLayout;
1816
+ /** The history of this table. */
1817
+ provenance?: GoogleCloudDocumentaiV1DocumentProvenance;
1809
1818
  }
1810
1819
  interface GoogleCloudDocumentaiV1DocumentPageTableTableCell {
1811
1820
  /** How many columns this cell spans. */
@@ -2142,7 +2151,10 @@ declare namespace gapi.client {
2142
2151
  replacementProcessorVersion?: string;
2143
2152
  }
2144
2153
  interface GoogleCloudDocumentaiV1ProcessRequest {
2145
- /** Specifies which fields to include in ProcessResponse's document. */
2154
+ /**
2155
+ * 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
2156
+ * `pages.{page_field_name}`.
2157
+ */
2146
2158
  fieldMask?: string;
2147
2159
  /** An inline document proto. */
2148
2160
  inlineDocument?: GoogleCloudDocumentaiV1Document;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1",
3
- "version": "0.0.20220928",
3
+ "version": "0.0.20221017",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1",
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: 20220928
6
+ // Revision: 20221017
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -759,6 +759,18 @@ gapi.load('client', async () => {
759
759
  ],
760
760
  },
761
761
  },
762
+ provenance: {
763
+ id: 42,
764
+ parents: [
765
+ {
766
+ id: 42,
767
+ index: 42,
768
+ revision: 42,
769
+ }
770
+ ],
771
+ revision: 42,
772
+ type: "Test string",
773
+ },
762
774
  }
763
775
  ],
764
776
  tokens: [
@@ -1632,6 +1644,18 @@ gapi.load('client', async () => {
1632
1644
  ],
1633
1645
  },
1634
1646
  },
1647
+ provenance: {
1648
+ id: 42,
1649
+ parents: [
1650
+ {
1651
+ id: 42,
1652
+ index: 42,
1653
+ revision: 42,
1654
+ }
1655
+ ],
1656
+ revision: 42,
1657
+ type: "Test string",
1658
+ },
1635
1659
  }
1636
1660
  ],
1637
1661
  tokens: [
@@ -2488,6 +2512,18 @@ gapi.load('client', async () => {
2488
2512
  ],
2489
2513
  },
2490
2514
  },
2515
+ provenance: {
2516
+ id: 42,
2517
+ parents: [
2518
+ {
2519
+ id: 42,
2520
+ index: 42,
2521
+ revision: 42,
2522
+ }
2523
+ ],
2524
+ revision: 42,
2525
+ type: "Test string",
2526
+ },
2491
2527
  }
2492
2528
  ],
2493
2529
  tokens: [