@maxim_mazurok/gapi.client.documentai-v1beta3 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=v1beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241212
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1899,9 +1899,9 @@ declare namespace gapi.client {
|
|
|
1899
1899
|
units?: string;
|
|
1900
1900
|
}
|
|
1901
1901
|
interface GoogleTypePostalAddress {
|
|
1902
|
-
/** 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 (
|
|
1902
|
+
/** 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). */
|
|
1903
1903
|
addressLines?: string[];
|
|
1904
|
-
/** 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 (
|
|
1904
|
+
/** 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. */
|
|
1905
1905
|
administrativeArea?: string;
|
|
1906
1906
|
/** 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". */
|
|
1907
1907
|
languageCode?: string;
|
|
@@ -1909,7 +1909,7 @@ declare namespace gapi.client {
|
|
|
1909
1909
|
locality?: string;
|
|
1910
1910
|
/** Optional. The name of the organization at the address. */
|
|
1911
1911
|
organization?: string;
|
|
1912
|
-
/** 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 (
|
|
1912
|
+
/** 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.). */
|
|
1913
1913
|
postalCode?: string;
|
|
1914
1914
|
/** Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain "care of" information. */
|
|
1915
1915
|
recipients?: string[];
|
|
@@ -1917,19 +1917,19 @@ declare namespace gapi.client {
|
|
|
1917
1917
|
regionCode?: string;
|
|
1918
1918
|
/** 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. */
|
|
1919
1919
|
revision?: number;
|
|
1920
|
-
/** 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 (
|
|
1920
|
+
/** 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). */
|
|
1921
1921
|
sortingCode?: string;
|
|
1922
1922
|
/** Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts. */
|
|
1923
1923
|
sublocality?: string;
|
|
1924
1924
|
}
|
|
1925
1925
|
interface GoogleTypeTimeZone {
|
|
1926
|
-
/** IANA Time Zone Database time zone
|
|
1926
|
+
/** IANA Time Zone Database time zone. For example "America/New_York". */
|
|
1927
1927
|
id?: string;
|
|
1928
|
-
/** Optional. IANA Time Zone Database version number
|
|
1928
|
+
/** Optional. IANA Time Zone Database version number. For example "2019a". */
|
|
1929
1929
|
version?: string;
|
|
1930
1930
|
}
|
|
1931
1931
|
interface OperationsResource {
|
|
1932
|
-
/** 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
|
|
1932
|
+
/** 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`. */
|
|
1933
1933
|
cancel(request?: {
|
|
1934
1934
|
/** V1 error format. */
|
|
1935
1935
|
'$.xgafv'?: string;
|