@maxim_mazurok/gapi.client.translate-v3 0.0.20230310 → 0.0.20230403
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 +3 -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=v3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230403
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -524,6 +524,8 @@ declare namespace gapi.client {
|
|
|
524
524
|
* be returned through a byte-stream and its output mime type will be the same as the input file's mime type.
|
|
525
525
|
*/
|
|
526
526
|
documentOutputConfig?: DocumentOutputConfig;
|
|
527
|
+
/** Optional. If true, enable auto rotation correction in DVS. */
|
|
528
|
+
enableRotationCorrection?: boolean;
|
|
527
529
|
/**
|
|
528
530
|
* 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
|
|
529
531
|
* 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: 20230403
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -190,6 +190,7 @@ gapi.load('client', async () => {
|
|
|
190
190
|
},
|
|
191
191
|
mimeType: "Test string",
|
|
192
192
|
},
|
|
193
|
+
enableRotationCorrection: true,
|
|
193
194
|
enableShadowRemovalNativePdf: true,
|
|
194
195
|
glossaryConfig: {
|
|
195
196
|
glossary: "Test string",
|