@maxim_mazurok/gapi.client.documentai-v1 0.0.20230727 → 0.0.20230814
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 +24 -5
- package/package.json +2 -2
- package/tests.ts +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: 20230814
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -94,6 +94,25 @@ declare namespace gapi.client {
|
|
|
94
94
|
// tslint:disable-next-line:no-empty-interface
|
|
95
95
|
interface GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse {
|
|
96
96
|
}
|
|
97
|
+
interface GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata {
|
|
98
|
+
/** The basic metadata of the long-running operation. */
|
|
99
|
+
commonMetadata?:
|
|
100
|
+
GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
|
|
101
|
+
/** The list of response details of each document. */
|
|
102
|
+
individualBatchUpdateStatuses?:
|
|
103
|
+
GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus[];
|
|
104
|
+
}
|
|
105
|
+
interface GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus {
|
|
106
|
+
/** The document id of the document. */
|
|
107
|
+
documentId?:
|
|
108
|
+
GoogleCloudDocumentaiUiv1beta3DocumentId;
|
|
109
|
+
/** The status of updating the document in storage. */
|
|
110
|
+
status?:
|
|
111
|
+
GoogleRpcStatus;
|
|
112
|
+
}
|
|
113
|
+
// tslint:disable-next-line:no-empty-interface
|
|
114
|
+
interface GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse {
|
|
115
|
+
}
|
|
97
116
|
interface GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata {
|
|
98
117
|
/** The creation time of the operation. */
|
|
99
118
|
createTime?:
|
|
@@ -3299,7 +3318,7 @@ declare namespace gapi.client {
|
|
|
3299
3318
|
*/
|
|
3300
3319
|
advancedOcrOptions?:
|
|
3301
3320
|
string[];
|
|
3302
|
-
/** Turn on font id model and returns font style information. */
|
|
3321
|
+
/** Turn on font id model and returns font style information. Use PremiumFeatures.compute_style_info instead. */
|
|
3303
3322
|
computeStyleInfo?:
|
|
3304
3323
|
boolean;
|
|
3305
3324
|
/**
|
|
@@ -3663,9 +3682,9 @@ declare namespace gapi.client {
|
|
|
3663
3682
|
name?:
|
|
3664
3683
|
string;
|
|
3665
3684
|
/**
|
|
3666
|
-
* The normal response of the operation
|
|
3667
|
-
*
|
|
3668
|
-
*
|
|
3685
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
3686
|
+
* method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
|
|
3687
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
3669
3688
|
*/
|
|
3670
3689
|
response?:
|
|
3671
3690
|
{ [P in string]: any };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.documentai-v1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230814",
|
|
4
4
|
"description": "TypeScript typings for Cloud Document AI API v1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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:
|
|
6
|
+
// Revision: 20230814
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|