@maxim_mazurok/gapi.client.documentai-v1 0.0.20250123 → 0.0.20250128
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 +15 -15
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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: 20250128
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Cloud Document AI API v1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://documentai.googleapis.com/$discovery/rest?version=v1'
|
|
19
|
+
urlOrObject: 'https://documentai.googleapis.com/$discovery/rest?version=v1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'documentai', version: 'v1'): Promise<void>;
|
|
@@ -1968,7 +1968,7 @@ declare namespace gapi.client {
|
|
|
1968
1968
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1969
1969
|
uploadType?: string;
|
|
1970
1970
|
},
|
|
1971
|
-
body: GoogleCloudDocumentaiV1ReviewDocumentRequest
|
|
1971
|
+
body: GoogleCloudDocumentaiV1ReviewDocumentRequest,
|
|
1972
1972
|
): Request<GoogleLongrunningOperation>;
|
|
1973
1973
|
}
|
|
1974
1974
|
interface EvaluationsResource {
|
|
@@ -2088,7 +2088,7 @@ declare namespace gapi.client {
|
|
|
2088
2088
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2089
2089
|
uploadType?: string;
|
|
2090
2090
|
},
|
|
2091
|
-
body: GoogleCloudDocumentaiV1BatchProcessRequest
|
|
2091
|
+
body: GoogleCloudDocumentaiV1BatchProcessRequest,
|
|
2092
2092
|
): Request<GoogleLongrunningOperation>;
|
|
2093
2093
|
/** Deletes the processor version, all artifacts under the processor version will be deleted. */
|
|
2094
2094
|
delete(request?: {
|
|
@@ -2173,7 +2173,7 @@ declare namespace gapi.client {
|
|
|
2173
2173
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2174
2174
|
uploadType?: string;
|
|
2175
2175
|
},
|
|
2176
|
-
body: GoogleCloudDocumentaiV1DeployProcessorVersionRequest
|
|
2176
|
+
body: GoogleCloudDocumentaiV1DeployProcessorVersionRequest,
|
|
2177
2177
|
): Request<GoogleLongrunningOperation>;
|
|
2178
2178
|
/** Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. */
|
|
2179
2179
|
evaluateProcessorVersion(request: {
|
|
@@ -2231,7 +2231,7 @@ declare namespace gapi.client {
|
|
|
2231
2231
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2232
2232
|
uploadType?: string;
|
|
2233
2233
|
},
|
|
2234
|
-
body: GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest
|
|
2234
|
+
body: GoogleCloudDocumentaiV1EvaluateProcessorVersionRequest,
|
|
2235
2235
|
): Request<GoogleLongrunningOperation>;
|
|
2236
2236
|
/** Gets a processor version detail. */
|
|
2237
2237
|
get(request?: {
|
|
@@ -2347,7 +2347,7 @@ declare namespace gapi.client {
|
|
|
2347
2347
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2348
2348
|
uploadType?: string;
|
|
2349
2349
|
},
|
|
2350
|
-
body: GoogleCloudDocumentaiV1ProcessRequest
|
|
2350
|
+
body: GoogleCloudDocumentaiV1ProcessRequest,
|
|
2351
2351
|
): Request<GoogleCloudDocumentaiV1ProcessResponse>;
|
|
2352
2352
|
/** Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata. */
|
|
2353
2353
|
train(request: {
|
|
@@ -2405,7 +2405,7 @@ declare namespace gapi.client {
|
|
|
2405
2405
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2406
2406
|
uploadType?: string;
|
|
2407
2407
|
},
|
|
2408
|
-
body: GoogleCloudDocumentaiV1TrainProcessorVersionRequest
|
|
2408
|
+
body: GoogleCloudDocumentaiV1TrainProcessorVersionRequest,
|
|
2409
2409
|
): Request<GoogleLongrunningOperation>;
|
|
2410
2410
|
/** Undeploys the processor version. */
|
|
2411
2411
|
undeploy(request: {
|
|
@@ -2463,7 +2463,7 @@ declare namespace gapi.client {
|
|
|
2463
2463
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2464
2464
|
uploadType?: string;
|
|
2465
2465
|
},
|
|
2466
|
-
body: GoogleCloudDocumentaiV1UndeployProcessorVersionRequest
|
|
2466
|
+
body: GoogleCloudDocumentaiV1UndeployProcessorVersionRequest,
|
|
2467
2467
|
): Request<GoogleLongrunningOperation>;
|
|
2468
2468
|
evaluations: EvaluationsResource;
|
|
2469
2469
|
}
|
|
@@ -2524,7 +2524,7 @@ declare namespace gapi.client {
|
|
|
2524
2524
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2525
2525
|
uploadType?: string;
|
|
2526
2526
|
},
|
|
2527
|
-
body: GoogleCloudDocumentaiV1BatchProcessRequest
|
|
2527
|
+
body: GoogleCloudDocumentaiV1BatchProcessRequest,
|
|
2528
2528
|
): Request<GoogleLongrunningOperation>;
|
|
2529
2529
|
/** Creates a processor from the ProcessorType provided. The processor will be at `ENABLED` state by default after its creation. Note that this method requires the `documentai.processors.create` permission on the project, which is highly privileged. A user or service account with this permission can create new processors that can interact with any gcs bucket in your project. */
|
|
2530
2530
|
create(request: {
|
|
@@ -2582,7 +2582,7 @@ declare namespace gapi.client {
|
|
|
2582
2582
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2583
2583
|
uploadType?: string;
|
|
2584
2584
|
},
|
|
2585
|
-
body: GoogleCloudDocumentaiV1Processor
|
|
2585
|
+
body: GoogleCloudDocumentaiV1Processor,
|
|
2586
2586
|
): Request<GoogleCloudDocumentaiV1Processor>;
|
|
2587
2587
|
/** Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor. */
|
|
2588
2588
|
delete(request?: {
|
|
@@ -2667,7 +2667,7 @@ declare namespace gapi.client {
|
|
|
2667
2667
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2668
2668
|
uploadType?: string;
|
|
2669
2669
|
},
|
|
2670
|
-
body: GoogleCloudDocumentaiV1DisableProcessorRequest
|
|
2670
|
+
body: GoogleCloudDocumentaiV1DisableProcessorRequest,
|
|
2671
2671
|
): Request<GoogleLongrunningOperation>;
|
|
2672
2672
|
/** Enables a processor */
|
|
2673
2673
|
enable(request: {
|
|
@@ -2725,7 +2725,7 @@ declare namespace gapi.client {
|
|
|
2725
2725
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2726
2726
|
uploadType?: string;
|
|
2727
2727
|
},
|
|
2728
|
-
body: GoogleCloudDocumentaiV1EnableProcessorRequest
|
|
2728
|
+
body: GoogleCloudDocumentaiV1EnableProcessorRequest,
|
|
2729
2729
|
): Request<GoogleLongrunningOperation>;
|
|
2730
2730
|
/** Gets a processor detail. */
|
|
2731
2731
|
get(request?: {
|
|
@@ -2841,7 +2841,7 @@ declare namespace gapi.client {
|
|
|
2841
2841
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2842
2842
|
uploadType?: string;
|
|
2843
2843
|
},
|
|
2844
|
-
body: GoogleCloudDocumentaiV1ProcessRequest
|
|
2844
|
+
body: GoogleCloudDocumentaiV1ProcessRequest,
|
|
2845
2845
|
): Request<GoogleCloudDocumentaiV1ProcessResponse>;
|
|
2846
2846
|
/** Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments. */
|
|
2847
2847
|
setDefaultProcessorVersion(request: {
|
|
@@ -2899,7 +2899,7 @@ declare namespace gapi.client {
|
|
|
2899
2899
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2900
2900
|
uploadType?: string;
|
|
2901
2901
|
},
|
|
2902
|
-
body: GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
|
|
2902
|
+
body: GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest,
|
|
2903
2903
|
): Request<GoogleLongrunningOperation>;
|
|
2904
2904
|
humanReviewConfig: HumanReviewConfigResource;
|
|
2905
2905
|
processorVersions: ProcessorVersionsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED