@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20230609 → 0.0.20230627

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 +9 -1
  2. package/package.json +1 -1
  3. package/tests.ts +4 -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: 20230609
12
+ // Revision: 20230627
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3345,6 +3345,9 @@ declare namespace gapi.client {
3345
3345
  */
3346
3346
  baseProcessorVersion?:
3347
3347
  string;
3348
+ /** Options to control Custom Document Extraction (CDE) Processor. */
3349
+ customDocumentExtractionOptions?:
3350
+ GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions;
3348
3351
  /** Optional. The schema the processor version will be trained with. */
3349
3352
  documentSchema?:
3350
3353
  GoogleCloudDocumentaiV1beta3DocumentSchema;
@@ -3355,6 +3358,11 @@ declare namespace gapi.client {
3355
3358
  processorVersion?:
3356
3359
  GoogleCloudDocumentaiV1beta3ProcessorVersion;
3357
3360
  }
3361
+ interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions {
3362
+ /** Training method to use for CDE training. */
3363
+ trainingMethod?:
3364
+ string;
3365
+ }
3358
3366
  interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData {
3359
3367
  /** The documents used for testing the trained version. */
3360
3368
  testDocuments?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1beta3",
3
- "version": "0.0.20230609",
3
+ "version": "0.0.20230627",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1beta3",
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: 20230609
6
+ // Revision: 20230627
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -5495,6 +5495,9 @@ gapi.load('client', async () => {
5495
5495
  parent: "Test string",
5496
5496
  }, {
5497
5497
  baseProcessorVersion: "Test string",
5498
+ customDocumentExtractionOptions: {
5499
+ trainingMethod: "Test string",
5500
+ },
5498
5501
  documentSchema: {
5499
5502
  description: "Test string",
5500
5503
  displayName: "Test string",