@maxim_mazurok/gapi.client.documentai-v1 0.0.20230714 → 0.0.20230721

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 +30 -13
  2. package/package.json +1 -1
  3. package/tests.ts +9 -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: 20230714
12
+ // Revision: 20230721
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -23,7 +23,7 @@ declare namespace gapi.client {
23
23
 
24
24
  namespace documentai {
25
25
  interface GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata {
26
- /** The basic metadata of the long running operation. */
26
+ /** The basic metadata of the long-running operation. */
27
27
  commonMetadata?:
28
28
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
29
29
  /** The list of individual auto-labeling statuses of the dataset documents. */
@@ -45,7 +45,7 @@ declare namespace gapi.client {
45
45
  interface GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse {
46
46
  }
47
47
  interface GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata {
48
- /** The basic metadata of the long running operation. */
48
+ /** The basic metadata of the long-running operation. */
49
49
  commonMetadata?:
50
50
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
51
51
  /** Total number of documents that failed to be deleted in storage. */
@@ -70,7 +70,7 @@ declare namespace gapi.client {
70
70
  interface GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse {
71
71
  }
72
72
  interface GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata {
73
- /** The basic metadata of the long running operation. */
73
+ /** The basic metadata of the long-running operation. */
74
74
  commonMetadata?:
75
75
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
76
76
  /** The destination dataset split type. */
@@ -190,7 +190,7 @@ declare namespace gapi.client {
190
190
  string;
191
191
  }
192
192
  interface GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata {
193
- /** The basic metadata of the long running operation. */
193
+ /** The basic metadata of the long-running operation. */
194
194
  commonMetadata?:
195
195
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
196
196
  /** The list of response details of each document. */
@@ -233,7 +233,7 @@ declare namespace gapi.client {
233
233
  string;
234
234
  }
235
235
  interface GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata {
236
- /** The basic metadata of the long running operation. */
236
+ /** The basic metadata of the long-running operation. */
237
237
  commonMetadata?:
238
238
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
239
239
  /** Validation statuses of the batch documents import config. */
@@ -282,7 +282,7 @@ declare namespace gapi.client {
282
282
  string;
283
283
  }
284
284
  interface GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata {
285
- /** The basic metadata of the long running operation. */
285
+ /** The basic metadata of the long-running operation. */
286
286
  commonMetadata?:
287
287
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
288
288
  /** The list of dataset resync statuses. Not checked when `dataset_documents` is specified in ResyncRequest. */
@@ -329,7 +329,7 @@ declare namespace gapi.client {
329
329
  string;
330
330
  }
331
331
  interface GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata {
332
- /** The basic metadata of the long running operation. */
332
+ /** The basic metadata of the long-running operation. */
333
333
  commonMetadata?:
334
334
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
335
335
  }
@@ -396,7 +396,7 @@ declare namespace gapi.client {
396
396
  interface GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse {
397
397
  }
398
398
  interface GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata {
399
- /** The basic metadata of the long running operation. */
399
+ /** The basic metadata of the long-running operation. */
400
400
  commonMetadata?:
401
401
  GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata;
402
402
  }
@@ -1948,7 +1948,7 @@ declare namespace gapi.client {
1948
1948
  number;
1949
1949
  }
1950
1950
  interface GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata {
1951
- /** The basic metadata of the long running operation. */
1951
+ /** The basic metadata of the long-running operation. */
1952
1952
  commonMetadata?:
1953
1953
  GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
1954
1954
  /** Total number of documents that failed to be deleted in storage. */
@@ -2156,7 +2156,7 @@ declare namespace gapi.client {
2156
2156
  string;
2157
2157
  }
2158
2158
  interface GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata {
2159
- /** The basic metadata of the long running operation. */
2159
+ /** The basic metadata of the long-running operation. */
2160
2160
  commonMetadata?:
2161
2161
  GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
2162
2162
  /** Validation statuses of the batch documents import config. */
@@ -2293,7 +2293,7 @@ declare namespace gapi.client {
2293
2293
  interface GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse {
2294
2294
  }
2295
2295
  interface GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata {
2296
- /** The basic metadata of the long running operation. */
2296
+ /** The basic metadata of the long-running operation. */
2297
2297
  commonMetadata?:
2298
2298
  GoogleCloudDocumentaiV1beta3CommonOperationMetadata;
2299
2299
  }
@@ -3351,6 +3351,9 @@ declare namespace gapi.client {
3351
3351
  /** Output only. Immutable. The http endpoint that can be called to invoke processing. */
3352
3352
  processEndpoint?:
3353
3353
  string;
3354
+ /** Output only. The processor version aliases. */
3355
+ processorVersionAliases?:
3356
+ GoogleCloudDocumentaiV1ProcessorVersionAlias[];
3354
3357
  /** Output only. The state of the processor. */
3355
3358
  state?:
3356
3359
  string;
@@ -3399,7 +3402,7 @@ declare namespace gapi.client {
3399
3402
  /** The schema of the processor version. Describes the output. */
3400
3403
  documentSchema?:
3401
3404
  GoogleCloudDocumentaiV1DocumentSchema;
3402
- /** Denotes that this `ProcessorVersion` is managed by Google. */
3405
+ /** Output only. Denotes that this `ProcessorVersion` is managed by Google. */
3403
3406
  googleManaged?:
3404
3407
  boolean;
3405
3408
  /** The KMS key name used for encryption. */
@@ -3418,6 +3421,14 @@ declare namespace gapi.client {
3418
3421
  state?:
3419
3422
  string;
3420
3423
  }
3424
+ interface GoogleCloudDocumentaiV1ProcessorVersionAlias {
3425
+ /** The alias in the form of `processor_version` resource name. */
3426
+ alias?:
3427
+ string;
3428
+ /** The resource name of aliased processor version. */
3429
+ processorVersion?:
3430
+ string;
3431
+ }
3421
3432
  interface GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo {
3422
3433
  /** The time at which this processor version will be deprecated. */
3423
3434
  deprecationTime?:
@@ -3461,6 +3472,12 @@ declare namespace gapi.client {
3461
3472
  /** Inline document content. */
3462
3473
  content?:
3463
3474
  string;
3475
+ /**
3476
+ * The display name of the document, it supports all Unicode characters except the following: `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,` `~`, `=` and `:` are reserved. If not
3477
+ * specified, a default ID will be generated.
3478
+ */
3479
+ displayName?:
3480
+ string;
3464
3481
  /** An IANA MIME type (RFC6838) indicating the nature and format of the content. */
3465
3482
  mimeType?:
3466
3483
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1",
3
- "version": "0.0.20230714",
3
+ "version": "0.0.20230721",
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: 20230714
6
+ // Revision: 20230721
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -126,6 +126,12 @@ gapi.load('client', async () => {
126
126
  kmsKeyName: "Test string",
127
127
  name: "Test string",
128
128
  processEndpoint: "Test string",
129
+ processorVersionAliases: [
130
+ {
131
+ alias: "Test string",
132
+ processorVersion: "Test string",
133
+ }
134
+ ],
129
135
  state: "Test string",
130
136
  type: "Test string",
131
137
  });
@@ -1024,6 +1030,7 @@ gapi.load('client', async () => {
1024
1030
  },
1025
1031
  rawDocument: {
1026
1032
  content: "Test string",
1033
+ displayName: "Test string",
1027
1034
  mimeType: "Test string",
1028
1035
  },
1029
1036
  skipHumanReview: true,
@@ -2869,6 +2876,7 @@ gapi.load('client', async () => {
2869
2876
  },
2870
2877
  rawDocument: {
2871
2878
  content: "Test string",
2879
+ displayName: "Test string",
2872
2880
  mimeType: "Test string",
2873
2881
  },
2874
2882
  skipHumanReview: true,