@maxim_mazurok/gapi.client.documentai-v1 0.0.20230427 → 0.0.20230519

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.
Files changed (3) hide show
  1. package/index.d.ts +25 -1
  2. package/package.json +1 -1
  3. 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: 20230427
12
+ // Revision: 20230519
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -148,11 +148,15 @@ declare namespace gapi.client {
148
148
  interface GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse {
149
149
  }
150
150
  interface GoogleCloudDocumentaiUiv1beta3DocumentId {
151
+ /** A document id within user managed Cloud Storage. */
151
152
  gcsManagedDocId?:
152
153
  GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId;
153
154
  /** Points to a specific revision of the document if set. */
154
155
  revisionRef?:
155
156
  GoogleCloudDocumentaiUiv1beta3RevisionRef;
157
+ /** A document id within unmanaged dataset. */
158
+ unmanagedDocId?:
159
+ GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId;
156
160
  }
157
161
  interface GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId {
158
162
  /** Id of the document (indexed) managed by Content Warehouse. */
@@ -162,6 +166,11 @@ declare namespace gapi.client {
162
166
  gcsUri?:
163
167
  string;
164
168
  }
169
+ interface GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId {
170
+ /** Required. The id of the document. */
171
+ docId?:
172
+ string;
173
+ }
165
174
  interface GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata {
166
175
  /** The basic metadata of the long-running operation. */
167
176
  commonMetadata?:
@@ -316,6 +325,21 @@ declare namespace gapi.client {
316
325
  revisionId?:
317
326
  string;
318
327
  }
328
+ interface GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata {
329
+ /** The basic metadata of the long running operation. */
330
+ commonMetadata?:
331
+ GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
332
+ }
333
+ interface GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse {
334
+ /** The result of the sampling process. */
335
+ selectedDocuments?:
336
+ GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument[];
337
+ }
338
+ interface GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument {
339
+ /** An internal identifier for document. */
340
+ documentId?:
341
+ string;
342
+ }
319
343
  interface GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata {
320
344
  /** The basic metadata of the long-running operation. */
321
345
  commonMetadata?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1",
3
- "version": "0.0.20230427",
3
+ "version": "0.0.20230519",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230427
6
+ // Revision: 20230519
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */