@maxim_mazurok/gapi.client.documentai-v1 0.0.20230609 → 0.0.20230619

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=v1
12
- // Revision: 20230609
12
+ // Revision: 20230619
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3337,6 +3337,9 @@ declare namespace gapi.client {
3337
3337
  */
3338
3338
  baseProcessorVersion?:
3339
3339
  string;
3340
+ /** Options to control Custom Document Extraction (CDE) Processor. */
3341
+ customDocumentExtractionOptions?:
3342
+ GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions;
3340
3343
  /** Optional. The schema the processor version will be trained with. */
3341
3344
  documentSchema?:
3342
3345
  GoogleCloudDocumentaiV1DocumentSchema;
@@ -3347,6 +3350,11 @@ declare namespace gapi.client {
3347
3350
  processorVersion?:
3348
3351
  GoogleCloudDocumentaiV1ProcessorVersion;
3349
3352
  }
3353
+ interface GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions {
3354
+ /** Training method to use for CDE training. */
3355
+ trainingMethod?:
3356
+ string;
3357
+ }
3350
3358
  interface GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData {
3351
3359
  /** The documents used for testing the trained version. */
3352
3360
  testDocuments?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1",
3
- "version": "0.0.20230609",
3
+ "version": "0.0.20230619",
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: 20230609
6
+ // Revision: 20230619
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -2806,6 +2806,9 @@ gapi.load('client', async () => {
2806
2806
  parent: "Test string",
2807
2807
  }, {
2808
2808
  baseProcessorVersion: "Test string",
2809
+ customDocumentExtractionOptions: {
2810
+ trainingMethod: "Test string",
2811
+ },
2809
2812
  documentSchema: {
2810
2813
  description: "Test string",
2811
2814
  displayName: "Test string",