@maxim_mazurok/gapi.client.translate-v3beta1 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.
- package/index.d.ts +4 -1
- package/package.json +1 -1
- 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=v3beta1
|
|
12
|
-
// Revision:
|
|
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
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:
|
|
6
|
+
// Revision: 20230721
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -76,6 +76,7 @@ gapi.load('client', async () => {
|
|
|
76
76
|
parent: "Test string",
|
|
77
77
|
}, {
|
|
78
78
|
customizedAttribution: "Test string",
|
|
79
|
+
enableRotationCorrection: true,
|
|
79
80
|
enableShadowRemovalNativePdf: true,
|
|
80
81
|
formatConversions: {
|
|
81
82
|
A: "Test string"
|