@maxim_mazurok/gapi.client.documentai-v1 0.0.20240708 → 0.0.20240716

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 (2) hide show
  1. package/index.d.ts +21 -1
  2. package/package.json +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: 20240708
12
+ // Revision: 20240716
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2652,6 +2652,8 @@ declare namespace gapi.client {
2652
2652
  displayName?: string;
2653
2653
  /** The schema of the processor version. Describes the output. */
2654
2654
  documentSchema?: GoogleCloudDocumentaiV1DocumentSchema;
2655
+ /** Output only. Information about Generative AI model-based processor versions. */
2656
+ genAiModelInfo?: GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo;
2655
2657
  /** Output only. Denotes that this `ProcessorVersion` is managed by Google. */
2656
2658
  googleManaged?: boolean;
2657
2659
  /** The KMS key name used for encryption. */
@@ -2683,6 +2685,24 @@ declare namespace gapi.client {
2683
2685
  /** If set, the processor version that will be used as a replacement. */
2684
2686
  replacementProcessorVersion?: string;
2685
2687
  }
2688
+ interface GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo {
2689
+ /** Information for a custom Generative AI model created by the user. */
2690
+ customGenAiModelInfo?: GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo;
2691
+ /** Information for a pretrained Google-managed foundation model. */
2692
+ foundationGenAiModelInfo?: GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo;
2693
+ }
2694
+ interface GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo {
2695
+ /** The base processor version ID for the custom model. */
2696
+ baseProcessorVersionId?: string;
2697
+ /** The type of custom model created by the user. */
2698
+ customModelType?: string;
2699
+ }
2700
+ interface GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
2701
+ /** Whether finetuning is allowed for this base processor version. */
2702
+ finetuningAllowed?: boolean;
2703
+ /** The minimum number of labeled documents in the training dataset required for finetuning. */
2704
+ minTrainLabeledDocuments?: number;
2705
+ }
2686
2706
  interface GoogleCloudDocumentaiV1ProcessRequest {
2687
2707
  /** Specifies which fields to include in the ProcessResponse.document output. Only supports top-level document and pages field, so it must be in the form of `{document_field_name}` or `pages.{page_field_name}`. */
2688
2708
  fieldMask?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1",
3
- "version": "0.0.20240708",
3
+ "version": "0.0.20240716",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1",
5
5
  "repository": {
6
6
  "type": "git",