@maxim_mazurok/gapi.client.documentai-v1 0.0.20230302 → 0.0.20230320
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 +10 -7
- package/package.json +1 -1
- package/tests.ts +2 -7
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: 20230320
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1455,6 +1455,14 @@ declare namespace gapi.client {
|
|
|
1455
1455
|
/** A message providing more details about the human review state. */
|
|
1456
1456
|
stateMessage?: string;
|
|
1457
1457
|
}
|
|
1458
|
+
interface GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata {
|
|
1459
|
+
/** The basic metadata for the long running operation. */
|
|
1460
|
+
commonMetadata?: GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
|
|
1461
|
+
}
|
|
1462
|
+
interface GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse {
|
|
1463
|
+
/** The destination processor version name. */
|
|
1464
|
+
processorVersion?: string;
|
|
1465
|
+
}
|
|
1458
1466
|
interface GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata {
|
|
1459
1467
|
/** The basic metadata of the long running operation. */
|
|
1460
1468
|
commonMetadata?: GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
|
|
@@ -2663,12 +2671,7 @@ declare namespace gapi.client {
|
|
|
2663
2671
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2664
2672
|
uploadType?: string;
|
|
2665
2673
|
}): Request<GoogleLongrunningOperation>;
|
|
2666
|
-
/**
|
|
2667
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
2668
|
-
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
2669
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
2670
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
2671
|
-
*/
|
|
2674
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2672
2675
|
list(request?: {
|
|
2673
2676
|
/** V1 error format. */
|
|
2674
2677
|
"$.xgafv"?: string;
|
package/package.json
CHANGED
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: 20230320
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -64,12 +64,7 @@ gapi.load('client', async () => {
|
|
|
64
64
|
await gapi.client.documentai.projects.locations.operations.get({
|
|
65
65
|
name: "Test string",
|
|
66
66
|
});
|
|
67
|
-
/**
|
|
68
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
|
|
69
|
-
* override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
70
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
71
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
72
|
-
*/
|
|
67
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
73
68
|
await gapi.client.documentai.projects.locations.operations.list({
|
|
74
69
|
filter: "Test string",
|
|
75
70
|
name: "Test string",
|