@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20221201 → 0.0.20230106
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 +32 -21
- package/package.json +1 -1
- package/tests.ts +5 -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: 20230106
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -112,7 +112,7 @@ declare namespace gapi.client {
|
|
|
112
112
|
revisionReference?: GoogleCloudDocumentaiUiv1beta3RevisionReference;
|
|
113
113
|
}
|
|
114
114
|
interface GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId {
|
|
115
|
-
/**
|
|
115
|
+
/** Id of the document (indexed) managed by Content Warehouse. */
|
|
116
116
|
cwDocId?: string;
|
|
117
117
|
/** Required. The Cloud Storage uri where the actual document is stored. */
|
|
118
118
|
gcsUri?: string;
|
|
@@ -218,11 +218,11 @@ declare namespace gapi.client {
|
|
|
218
218
|
interface GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse {
|
|
219
219
|
}
|
|
220
220
|
interface GoogleCloudDocumentaiUiv1beta3RevisionReference {
|
|
221
|
-
/**
|
|
221
|
+
/** Reads the revision generated by the processor version. */
|
|
222
222
|
latestProcessorVersion?: string;
|
|
223
|
-
/**
|
|
223
|
+
/** Reads the revision by the predefined case. */
|
|
224
224
|
revisionCase?: string;
|
|
225
|
-
/**
|
|
225
|
+
/** Reads the revision given by the id. */
|
|
226
226
|
revisionId?: string;
|
|
227
227
|
}
|
|
228
228
|
interface GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata {
|
|
@@ -273,22 +273,6 @@ declare namespace gapi.client {
|
|
|
273
273
|
/** The basic metadata of the long running operation. */
|
|
274
274
|
commonMetadata?: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
|
|
275
275
|
}
|
|
276
|
-
interface GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata {
|
|
277
|
-
/** The basic metadata of the long running operation. */
|
|
278
|
-
commonMetadata?: GoogleCloudDocumentaiV1alpha1CommonOperationMetadata;
|
|
279
|
-
}
|
|
280
|
-
interface GoogleCloudDocumentaiV1alpha1CommonOperationMetadata {
|
|
281
|
-
/** The creation time of the operation. */
|
|
282
|
-
createTime?: string;
|
|
283
|
-
/** A related resource to this operation. */
|
|
284
|
-
resource?: string;
|
|
285
|
-
/** The state of the operation. */
|
|
286
|
-
state?: string;
|
|
287
|
-
/** A message providing more details about the current state of processing. */
|
|
288
|
-
stateMessage?: string;
|
|
289
|
-
/** The last update time of the operation. */
|
|
290
|
-
updateTime?: string;
|
|
291
|
-
}
|
|
292
276
|
interface GoogleCloudDocumentaiV1BatchProcessMetadata {
|
|
293
277
|
/** The creation time of the operation. */
|
|
294
278
|
createTime?: string;
|
|
@@ -3659,6 +3643,33 @@ declare namespace gapi.client {
|
|
|
3659
3643
|
processorVersions: ProcessorVersionsResource;
|
|
3660
3644
|
}
|
|
3661
3645
|
interface ProcessorTypesResource {
|
|
3646
|
+
/** Gets a processor type detail. */
|
|
3647
|
+
get(request?: {
|
|
3648
|
+
/** V1 error format. */
|
|
3649
|
+
"$.xgafv"?: string;
|
|
3650
|
+
/** OAuth access token. */
|
|
3651
|
+
access_token?: string;
|
|
3652
|
+
/** Data format for response. */
|
|
3653
|
+
alt?: string;
|
|
3654
|
+
/** JSONP */
|
|
3655
|
+
callback?: string;
|
|
3656
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3657
|
+
fields?: string;
|
|
3658
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3659
|
+
key?: string;
|
|
3660
|
+
/** Required. The processor type resource name. */
|
|
3661
|
+
name: string;
|
|
3662
|
+
/** OAuth 2.0 token for the current user. */
|
|
3663
|
+
oauth_token?: string;
|
|
3664
|
+
/** Returns response with indentations and line breaks. */
|
|
3665
|
+
prettyPrint?: boolean;
|
|
3666
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3667
|
+
quotaUser?: string;
|
|
3668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3669
|
+
upload_protocol?: string;
|
|
3670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3671
|
+
uploadType?: string;
|
|
3672
|
+
}): Request<GoogleCloudDocumentaiV1beta3ProcessorType>;
|
|
3662
3673
|
/** Lists the processor types that exist. */
|
|
3663
3674
|
list(request?: {
|
|
3664
3675
|
/** V1 error format. */
|
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: 20230106
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -5331,6 +5331,10 @@ gapi.load('client', async () => {
|
|
|
5331
5331
|
pageToken: "Test string",
|
|
5332
5332
|
parent: "Test string",
|
|
5333
5333
|
});
|
|
5334
|
+
/** Gets a processor type detail. */
|
|
5335
|
+
await gapi.client.documentai.projects.locations.processorTypes.get({
|
|
5336
|
+
name: "Test string",
|
|
5337
|
+
});
|
|
5334
5338
|
/** Lists the processor types that exist. */
|
|
5335
5339
|
await gapi.client.documentai.projects.locations.processorTypes.list({
|
|
5336
5340
|
pageSize: 42,
|