@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20250317 → 0.0.20250321

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 (2) hide show
  1. package/index.d.ts +11 -7
  2. package/package.json +1 -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: 20250317
12
+ // Revision: 20250321
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1428,6 +1428,8 @@ declare namespace gapi.client {
1428
1428
  interface GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig {
1429
1429
  /** Optional. Config for chunking in layout parser processor. */
1430
1430
  chunkingConfig?: GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig;
1431
+ /** Optional. Whether to refine PDF layout using LLM. */
1432
+ enableLlmLayoutParsing?: boolean;
1431
1433
  /** Optional. Whether to include bounding boxes in layout parser processor response. */
1432
1434
  returnBoundingBoxes?: boolean;
1433
1435
  /** Optional. Whether to include images in layout parser processor response. */
@@ -1903,17 +1905,17 @@ declare namespace gapi.client {
1903
1905
  units?: string;
1904
1906
  }
1905
1907
  interface GoogleTypePostalAddress {
1906
- /** Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (For example "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (For example Japan), address_language is used to make it explicit (For example "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). */
1908
+ /** Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). */
1907
1909
  addressLines?: string[];
1908
- /** Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (For example "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. For example in Switzerland this should be left unpopulated. */
1910
+ /** Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated. */
1909
1911
  administrativeArea?: string;
1910
1912
  /** Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: "zh-Hant", "ja", "ja-Latn", "en". */
1911
1913
  languageCode?: string;
1912
- /** Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines. */
1914
+ /** Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`. */
1913
1915
  locality?: string;
1914
1916
  /** Optional. The name of the organization at the address. */
1915
1917
  organization?: string;
1916
- /** Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (For example state/zip validation in the U.S.A.). */
1918
+ /** Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States). */
1917
1919
  postalCode?: string;
1918
1920
  /** Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information. */
1919
1921
  recipients?: string[];
@@ -1921,9 +1923,9 @@ declare namespace gapi.client {
1921
1923
  regionCode?: string;
1922
1924
  /** The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions. */
1923
1925
  revision?: number;
1924
- /** Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (For example "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (For example Côte d'Ivoire). */
1926
+ /** Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (for example, "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (Côte d'Ivoire). */
1925
1927
  sortingCode?: string;
1926
- /** Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts. */
1928
+ /** Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district. */
1927
1929
  sublocality?: string;
1928
1930
  }
1929
1931
  interface GoogleTypeTimeZone {
@@ -3572,6 +3574,8 @@ declare namespace gapi.client {
3572
3574
  alt?: string;
3573
3575
  /** JSONP */
3574
3576
  callback?: string;
3577
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
3578
+ extraLocationTypes?: string | string[];
3575
3579
  /** Selector specifying which fields to include in a partial response. */
3576
3580
  fields?: string;
3577
3581
  /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1beta3",
3
- "version": "0.0.20250317",
3
+ "version": "0.0.20250321",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1beta3",
5
5
  "repository": {
6
6
  "type": "git",