@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20250123 → 0.0.20250128

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 +22 -22
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250123
12
+ // Revision: 20250128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Document AI API v1beta3 */
18
18
  function load(
19
- urlOrObject: 'https://documentai.googleapis.com/$discovery/rest?version=v1beta3'
19
+ urlOrObject: 'https://documentai.googleapis.com/$discovery/rest?version=v1beta3',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'documentai', version: 'v1beta3'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'documentai',
26
26
  version: 'v1beta3',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace documentai {
@@ -2078,7 +2078,7 @@ declare namespace gapi.client {
2078
2078
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2079
2079
  uploadType?: string;
2080
2080
  },
2081
- body: GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest
2081
+ body: GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest,
2082
2082
  ): Request<GoogleLongrunningOperation>;
2083
2083
  /** Gets the `DatasetSchema` of a `Dataset`. */
2084
2084
  getDatasetSchema(request?: {
@@ -2210,7 +2210,7 @@ declare namespace gapi.client {
2210
2210
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2211
2211
  uploadType?: string;
2212
2212
  },
2213
- body: GoogleCloudDocumentaiV1beta3ImportDocumentsRequest
2213
+ body: GoogleCloudDocumentaiV1beta3ImportDocumentsRequest,
2214
2214
  ): Request<GoogleLongrunningOperation>;
2215
2215
  /** Returns a list of documents present in the dataset. */
2216
2216
  listDocuments(request: {
@@ -2268,7 +2268,7 @@ declare namespace gapi.client {
2268
2268
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2269
2269
  uploadType?: string;
2270
2270
  },
2271
- body: GoogleCloudDocumentaiV1beta3ListDocumentsRequest
2271
+ body: GoogleCloudDocumentaiV1beta3ListDocumentsRequest,
2272
2272
  ): Request<GoogleCloudDocumentaiV1beta3ListDocumentsResponse>;
2273
2273
  /** Updates a `DatasetSchema`. */
2274
2274
  updateDatasetSchema(request: {
@@ -2330,7 +2330,7 @@ declare namespace gapi.client {
2330
2330
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2331
2331
  uploadType?: string;
2332
2332
  },
2333
- body: GoogleCloudDocumentaiV1beta3DatasetSchema
2333
+ body: GoogleCloudDocumentaiV1beta3DatasetSchema,
2334
2334
  ): Request<GoogleCloudDocumentaiV1beta3DatasetSchema>;
2335
2335
  }
2336
2336
  interface HumanReviewConfigResource {
@@ -2390,7 +2390,7 @@ declare namespace gapi.client {
2390
2390
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2391
2391
  uploadType?: string;
2392
2392
  },
2393
- body: GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
2393
+ body: GoogleCloudDocumentaiV1beta3ReviewDocumentRequest,
2394
2394
  ): Request<GoogleLongrunningOperation>;
2395
2395
  }
2396
2396
  interface EvaluationsResource {
@@ -2510,7 +2510,7 @@ declare namespace gapi.client {
2510
2510
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2511
2511
  uploadType?: string;
2512
2512
  },
2513
- body: GoogleCloudDocumentaiV1beta3BatchProcessRequest
2513
+ body: GoogleCloudDocumentaiV1beta3BatchProcessRequest,
2514
2514
  ): Request<GoogleLongrunningOperation>;
2515
2515
  /** Deletes the processor version, all artifacts under the processor version will be deleted. */
2516
2516
  delete(request?: {
@@ -2595,7 +2595,7 @@ declare namespace gapi.client {
2595
2595
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2596
2596
  uploadType?: string;
2597
2597
  },
2598
- body: GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest
2598
+ body: GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest,
2599
2599
  ): Request<GoogleLongrunningOperation>;
2600
2600
  /** Evaluates a ProcessorVersion against annotated documents, producing an Evaluation. */
2601
2601
  evaluateProcessorVersion(request: {
@@ -2653,7 +2653,7 @@ declare namespace gapi.client {
2653
2653
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2654
2654
  uploadType?: string;
2655
2655
  },
2656
- body: GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest
2656
+ body: GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionRequest,
2657
2657
  ): Request<GoogleLongrunningOperation>;
2658
2658
  /** Gets a processor version detail. */
2659
2659
  get(request?: {
@@ -2738,7 +2738,7 @@ declare namespace gapi.client {
2738
2738
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2739
2739
  uploadType?: string;
2740
2740
  },
2741
- body: GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
2741
+ body: GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest,
2742
2742
  ): Request<GoogleLongrunningOperation>;
2743
2743
  /** Lists all versions of a processor. */
2744
2744
  list(request?: {
@@ -2827,7 +2827,7 @@ declare namespace gapi.client {
2827
2827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2828
2828
  uploadType?: string;
2829
2829
  },
2830
- body: GoogleCloudDocumentaiV1beta3ProcessRequest
2830
+ body: GoogleCloudDocumentaiV1beta3ProcessRequest,
2831
2831
  ): Request<GoogleCloudDocumentaiV1beta3ProcessResponse>;
2832
2832
  /** Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata. */
2833
2833
  train(request: {
@@ -2885,7 +2885,7 @@ declare namespace gapi.client {
2885
2885
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2886
2886
  uploadType?: string;
2887
2887
  },
2888
- body: GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest
2888
+ body: GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest,
2889
2889
  ): Request<GoogleLongrunningOperation>;
2890
2890
  /** Undeploys the processor version. */
2891
2891
  undeploy(request: {
@@ -2943,7 +2943,7 @@ declare namespace gapi.client {
2943
2943
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2944
2944
  uploadType?: string;
2945
2945
  },
2946
- body: GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest
2946
+ body: GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest,
2947
2947
  ): Request<GoogleLongrunningOperation>;
2948
2948
  evaluations: EvaluationsResource;
2949
2949
  }
@@ -3004,7 +3004,7 @@ declare namespace gapi.client {
3004
3004
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3005
3005
  uploadType?: string;
3006
3006
  },
3007
- body: GoogleCloudDocumentaiV1beta3BatchProcessRequest
3007
+ body: GoogleCloudDocumentaiV1beta3BatchProcessRequest,
3008
3008
  ): Request<GoogleLongrunningOperation>;
3009
3009
  /** Creates a processor from the ProcessorType provided. The processor will be at `ENABLED` state by default after its creation. Note that this method requires the `documentai.processors.create` permission on the project, which is highly privileged. A user or service account with this permission can create new processors that can interact with any gcs bucket in your project. */
3010
3010
  create(request: {
@@ -3062,7 +3062,7 @@ declare namespace gapi.client {
3062
3062
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3063
3063
  uploadType?: string;
3064
3064
  },
3065
- body: GoogleCloudDocumentaiV1beta3Processor
3065
+ body: GoogleCloudDocumentaiV1beta3Processor,
3066
3066
  ): Request<GoogleCloudDocumentaiV1beta3Processor>;
3067
3067
  /** Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor. */
3068
3068
  delete(request?: {
@@ -3147,7 +3147,7 @@ declare namespace gapi.client {
3147
3147
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3148
3148
  uploadType?: string;
3149
3149
  },
3150
- body: GoogleCloudDocumentaiV1beta3DisableProcessorRequest
3150
+ body: GoogleCloudDocumentaiV1beta3DisableProcessorRequest,
3151
3151
  ): Request<GoogleLongrunningOperation>;
3152
3152
  /** Enables a processor */
3153
3153
  enable(request: {
@@ -3205,7 +3205,7 @@ declare namespace gapi.client {
3205
3205
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3206
3206
  uploadType?: string;
3207
3207
  },
3208
- body: GoogleCloudDocumentaiV1beta3EnableProcessorRequest
3208
+ body: GoogleCloudDocumentaiV1beta3EnableProcessorRequest,
3209
3209
  ): Request<GoogleLongrunningOperation>;
3210
3210
  /** Gets a processor detail. */
3211
3211
  get(request?: {
@@ -3321,7 +3321,7 @@ declare namespace gapi.client {
3321
3321
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3322
3322
  uploadType?: string;
3323
3323
  },
3324
- body: GoogleCloudDocumentaiV1beta3ProcessRequest
3324
+ body: GoogleCloudDocumentaiV1beta3ProcessRequest,
3325
3325
  ): Request<GoogleCloudDocumentaiV1beta3ProcessResponse>;
3326
3326
  /** Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments. */
3327
3327
  setDefaultProcessorVersion(request: {
@@ -3379,7 +3379,7 @@ declare namespace gapi.client {
3379
3379
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3380
3380
  uploadType?: string;
3381
3381
  },
3382
- body: GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest
3382
+ body: GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest,
3383
3383
  ): Request<GoogleLongrunningOperation>;
3384
3384
  /** Updates metadata associated with a dataset. Note that this method requires the `documentai.googleapis.com/datasets.update` permission on the project, which is highly privileged. A user or service account with this permission can create new processors that can interact with any gcs bucket in your project. */
3385
3385
  updateDataset(request: {
@@ -3441,7 +3441,7 @@ declare namespace gapi.client {
3441
3441
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3442
3442
  uploadType?: string;
3443
3443
  },
3444
- body: GoogleCloudDocumentaiV1beta3Dataset
3444
+ body: GoogleCloudDocumentaiV1beta3Dataset,
3445
3445
  ): Request<GoogleLongrunningOperation>;
3446
3446
  dataset: DatasetResource;
3447
3447
  humanReviewConfig: HumanReviewConfigResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.documentai-v1beta3",
3
- "version": "0.0.20250123",
3
+ "version": "0.0.20250128",
4
4
  "description": "TypeScript typings for Cloud Document AI API v1beta3",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.documentai
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68