@maxim_mazurok/gapi.client.translate-v3 0.0.20230526 → 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 +4 -1
  2. package/package.json +1 -1
  3. package/tests.ts +2 -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://translation.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20230526
12
+ // Revision: 20230721
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -60,6 +60,9 @@ declare namespace gapi.client {
60
60
  */
61
61
  customizedAttribution?:
62
62
  string;
63
+ /** Optional. If true, enable auto rotation correction in DVS. */
64
+ enableRotationCorrection?:
65
+ boolean;
63
66
  /**
64
67
  * Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation. Shadow removal feature can only be enabled when
65
68
  * is_translate_native_pdf_only: false && pdf_native_only: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.translate-v3",
3
- "version": "0.0.20230526",
3
+ "version": "0.0.20230721",
4
4
  "description": "TypeScript typings for Cloud Translation API v3",
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: 20230526
6
+ // Revision: 20230721
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -88,6 +88,7 @@ gapi.load('client', async () => {
88
88
  parent: "Test string",
89
89
  }, {
90
90
  customizedAttribution: "Test string",
91
+ enableRotationCorrection: true,
91
92
  enableShadowRemovalNativePdf: true,
92
93
  formatConversions: {
93
94
  A: "Test string"