@maxim_mazurok/gapi.client.translate-v3 0.0.20230310 → 0.0.20230407
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 -3
- package/package.json +1 -1
- package/tests.ts +2 -2
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: 20230407
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -415,8 +415,6 @@ declare namespace gapi.client {
|
|
|
415
415
|
createTime?: string;
|
|
416
416
|
/** The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` */
|
|
417
417
|
dataset?: string;
|
|
418
|
-
/** Output only. Timestamp when the model training finished and ready to be used for translation. */
|
|
419
|
-
deployTime?: string;
|
|
420
418
|
/**
|
|
421
419
|
* The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits
|
|
422
420
|
* 0-9.
|
|
@@ -524,6 +522,8 @@ declare namespace gapi.client {
|
|
|
524
522
|
* be returned through a byte-stream and its output mime type will be the same as the input file's mime type.
|
|
525
523
|
*/
|
|
526
524
|
documentOutputConfig?: DocumentOutputConfig;
|
|
525
|
+
/** Optional. If true, enable auto rotation correction in DVS. */
|
|
526
|
+
enableRotationCorrection?: boolean;
|
|
527
527
|
/**
|
|
528
528
|
* 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
529
|
* 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: 20230407
|
|
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",
|
|
@@ -417,7 +418,6 @@ gapi.load('client', async () => {
|
|
|
417
418
|
}, {
|
|
418
419
|
createTime: "Test string",
|
|
419
420
|
dataset: "Test string",
|
|
420
|
-
deployTime: "Test string",
|
|
421
421
|
displayName: "Test string",
|
|
422
422
|
name: "Test string",
|
|
423
423
|
sourceLanguageCode: "Test string",
|