@maxim_mazurok/gapi.client.documentai-v1 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.
- package/index.d.ts +9 -7
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250321
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1764,17 +1764,17 @@ declare namespace gapi.client {
|
|
|
1764
1764
|
units?: string;
|
|
1765
1765
|
}
|
|
1766
1766
|
interface GoogleTypePostalAddress {
|
|
1767
|
-
/** 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 (
|
|
1767
|
+
/** 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). */
|
|
1768
1768
|
addressLines?: string[];
|
|
1769
|
-
/** 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.
|
|
1769
|
+
/** 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. */
|
|
1770
1770
|
administrativeArea?: string;
|
|
1771
1771
|
/** 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". */
|
|
1772
1772
|
languageCode?: string;
|
|
1773
|
-
/** Optional. Generally refers to the city
|
|
1773
|
+
/** 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`. */
|
|
1774
1774
|
locality?: string;
|
|
1775
1775
|
/** Optional. The name of the organization at the address. */
|
|
1776
1776
|
organization?: string;
|
|
1777
|
-
/** 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 (
|
|
1777
|
+
/** 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). */
|
|
1778
1778
|
postalCode?: string;
|
|
1779
1779
|
/** Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information. */
|
|
1780
1780
|
recipients?: string[];
|
|
@@ -1782,9 +1782,9 @@ declare namespace gapi.client {
|
|
|
1782
1782
|
regionCode?: string;
|
|
1783
1783
|
/** 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. */
|
|
1784
1784
|
revision?: number;
|
|
1785
|
-
/** 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 (
|
|
1785
|
+
/** 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). */
|
|
1786
1786
|
sortingCode?: string;
|
|
1787
|
-
/** Optional. Sublocality of the address. For example, this can be
|
|
1787
|
+
/** Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district. */
|
|
1788
1788
|
sublocality?: string;
|
|
1789
1789
|
}
|
|
1790
1790
|
interface GoogleTypeTimeZone {
|
|
@@ -3029,6 +3029,8 @@ declare namespace gapi.client {
|
|
|
3029
3029
|
alt?: string;
|
|
3030
3030
|
/** JSONP */
|
|
3031
3031
|
callback?: string;
|
|
3032
|
+
/** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
|
|
3033
|
+
extraLocationTypes?: string | string[];
|
|
3032
3034
|
/** Selector specifying which fields to include in a partial response. */
|
|
3033
3035
|
fields?: string;
|
|
3034
3036
|
/** 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). */
|