@maxim_mazurok/gapi.client.documentai-v1 0.0.20241209 → 0.0.20241212
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 +8 -8
- 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: 20241212
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1760,9 +1760,9 @@ declare namespace gapi.client {
|
|
|
1760
1760
|
units?: string;
|
|
1761
1761
|
}
|
|
1762
1762
|
interface GoogleTypePostalAddress {
|
|
1763
|
-
/** 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 (
|
|
1763
|
+
/** 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). */
|
|
1764
1764
|
addressLines?: string[];
|
|
1765
|
-
/** 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 (
|
|
1765
|
+
/** 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. */
|
|
1766
1766
|
administrativeArea?: string;
|
|
1767
1767
|
/** 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". */
|
|
1768
1768
|
languageCode?: string;
|
|
@@ -1770,7 +1770,7 @@ declare namespace gapi.client {
|
|
|
1770
1770
|
locality?: string;
|
|
1771
1771
|
/** Optional. The name of the organization at the address. */
|
|
1772
1772
|
organization?: string;
|
|
1773
|
-
/** 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 (
|
|
1773
|
+
/** 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.). */
|
|
1774
1774
|
postalCode?: string;
|
|
1775
1775
|
/** Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information. */
|
|
1776
1776
|
recipients?: string[];
|
|
@@ -1778,15 +1778,15 @@ declare namespace gapi.client {
|
|
|
1778
1778
|
regionCode?: string;
|
|
1779
1779
|
/** 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. */
|
|
1780
1780
|
revision?: number;
|
|
1781
|
-
/** 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 (
|
|
1781
|
+
/** 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). */
|
|
1782
1782
|
sortingCode?: string;
|
|
1783
1783
|
/** Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts. */
|
|
1784
1784
|
sublocality?: string;
|
|
1785
1785
|
}
|
|
1786
1786
|
interface GoogleTypeTimeZone {
|
|
1787
|
-
/** IANA Time Zone Database time zone
|
|
1787
|
+
/** IANA Time Zone Database time zone. For example "America/New_York". */
|
|
1788
1788
|
id?: string;
|
|
1789
|
-
/** Optional. IANA Time Zone Database version number
|
|
1789
|
+
/** Optional. IANA Time Zone Database version number. For example "2019a". */
|
|
1790
1790
|
version?: string;
|
|
1791
1791
|
}
|
|
1792
1792
|
interface OperationsResource {
|
|
@@ -1819,7 +1819,7 @@ declare namespace gapi.client {
|
|
|
1819
1819
|
}): Request<{}>;
|
|
1820
1820
|
}
|
|
1821
1821
|
interface OperationsResource {
|
|
1822
|
-
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
|
|
1822
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
1823
1823
|
cancel(request?: {
|
|
1824
1824
|
/** V1 error format. */
|
|
1825
1825
|
'$.xgafv'?: string;
|