@maxim_mazurok/gapi.client.documentai-v1beta3 0.1.20250819 → 0.1.20250820

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 +50 -20
  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=v1beta3
12
- // Revision: 20250819
12
+ // Revision: 20250820
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,6 +28,54 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace documentai {
31
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInput {
32
+ validationRules?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule[];
33
+ }
34
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule {
35
+ /** Description of the validation rule. This has no use but for documentation */
36
+ description?: string;
37
+ fieldOccurrences?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences;
38
+ fieldRegex?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex;
39
+ formValidation?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation;
40
+ /** Name of the validation rule. */
41
+ name?: string;
42
+ }
43
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant {
44
+ floatValue?: number;
45
+ }
46
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField {
47
+ /** Default value to use if the field is not present. If the field is missing and the default value is not set, the validation run as if the field is not present in the validation logic. */
48
+ defaultValue?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant;
49
+ /** The field name to validate. This can be a simple field name or a nested field one using the ':' (meant as an aggregator) or '*' (meant as foreach) operators. */
50
+ fieldName?: string;
51
+ }
52
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences {
53
+ field?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField;
54
+ maxOccurrences?: number;
55
+ /** Min and max occurrences of the field. If not set, there is limit set. The defined interval is a closed-closed interval, i.e. [min, max]. */
56
+ minOccurrences?: number;
57
+ }
58
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex {
59
+ field?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField;
60
+ /** Python regex to validate the field values. */
61
+ pattern?: string;
62
+ }
63
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation {
64
+ leftOperand?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation;
65
+ rightOperand?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation;
66
+ /** The relational operator to be applied to the operands. */
67
+ validationOperator?: string;
68
+ }
69
+ interface CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation {
70
+ /** A list of constants to be used as operands. */
71
+ constants?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant[];
72
+ /** A list of fields to be used as operands. */
73
+ fields?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField[];
74
+ /** A list of recursive operations to be used as operands. */
75
+ operations?: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation[];
76
+ /** The operation type to be applied to all the operands. */
77
+ operationType?: string;
78
+ }
31
79
  interface GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata {
32
80
  /** The basic metadata of the long-running operation. */
33
81
  commonMetadata?: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
@@ -546,8 +594,6 @@ declare namespace gapi.client {
546
594
  textStyles?: GoogleCloudDocumentaiV1beta3DocumentStyle[];
547
595
  /** Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris). */
548
596
  uri?: string;
549
- /** The output of the validation given the document and the validation rules. The output is appended to the document in the processing order. */
550
- validationOutputs?: GoogleCloudDocumentaiV1beta3DocumentValidationOutput[];
551
597
  }
552
598
  interface GoogleCloudDocumentaiV1beta3DocumentAnnotations {
553
599
  /** The description of the content with this annotation. */
@@ -1192,22 +1238,6 @@ declare namespace gapi.client {
1192
1238
  /** Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single `TextAnchor.text_segments` element. If the start and end index of the text segment are the same, the text change is inserted before that index. */
1193
1239
  textAnchor?: GoogleCloudDocumentaiV1beta3DocumentTextAnchor;
1194
1240
  }
1195
- interface GoogleCloudDocumentaiV1beta3DocumentValidationOutput {
1196
- /** The overall result of the validation, true if all applicable rules are valid. */
1197
- passAllRules?: boolean;
1198
- /** The result of each validation rule. */
1199
- validationResults?: GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult[];
1200
- }
1201
- interface GoogleCloudDocumentaiV1beta3DocumentValidationOutputValidationResult {
1202
- /** The description of the validation rule. */
1203
- ruleDescription?: string;
1204
- /** The name of the validation rule. */
1205
- ruleName?: string;
1206
- /** The detailed information of the running the validation process using the entity from the document based on the validation rule. */
1207
- validationDetails?: string;
1208
- /** The result of the validation rule. */
1209
- validationResultType?: string;
1210
- }
1211
1241
  interface GoogleCloudDocumentaiV1beta3EnableProcessorMetadata {
1212
1242
  /** The basic metadata of the long-running operation. */
1213
1243
  commonMetadata?: GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
@@ -3661,7 +3691,7 @@ declare namespace gapi.client {
3661
3691
  alt?: string;
3662
3692
  /** JSONP */
3663
3693
  callback?: string;
3664
- /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
3694
+ /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
3665
3695
  extraLocationTypes?: string | string[];
3666
3696
  /** Selector specifying which fields to include in a partial response. */
3667
3697
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1beta3",
3
- "version": "0.1.20250819",
3
+ "version": "0.1.20250820",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1beta3",
5
5
  "repository": {
6
6
  "type": "git",