@emilgroup/translation-sdk-node 1.8.1-beta.4 → 1.8.1-beta.5
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/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/skipped-translation-class.d.ts +36 -0
- package/dist/models/skipped-translation-class.js +15 -0
- package/dist/models/upload-product-translations-response-class.d.ts +13 -0
- package/models/index.ts +1 -0
- package/models/skipped-translation-class.ts +42 -0
- package/models/upload-product-translations-response-class.ts +13 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -22,6 +22,7 @@ models/list-translations-response-class.ts
|
|
|
22
22
|
models/new-translation-class.ts
|
|
23
23
|
models/product-language-class.ts
|
|
24
24
|
models/save-product-translations-request-dto.ts
|
|
25
|
+
models/skipped-translation-class.ts
|
|
25
26
|
models/translatable-field-class.ts
|
|
26
27
|
models/translation-class.ts
|
|
27
28
|
models/update-product-language-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/translation-sdk-node@1.8.1-beta.
|
|
20
|
+
npm install @emilgroup/translation-sdk-node@1.8.1-beta.5 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/translation-sdk-node@1.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/translation-sdk-node@1.8.1-beta.5
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `TranslationApi`.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './list-translations-response-class';
|
|
|
9
9
|
export * from './new-translation-class';
|
|
10
10
|
export * from './product-language-class';
|
|
11
11
|
export * from './save-product-translations-request-dto';
|
|
12
|
+
export * from './skipped-translation-class';
|
|
12
13
|
export * from './translatable-field-class';
|
|
13
14
|
export * from './translation-class';
|
|
14
15
|
export * from './update-product-language-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./list-translations-response-class"), exports);
|
|
|
25
25
|
__exportStar(require("./new-translation-class"), exports);
|
|
26
26
|
__exportStar(require("./product-language-class"), exports);
|
|
27
27
|
__exportStar(require("./save-product-translations-request-dto"), exports);
|
|
28
|
+
__exportStar(require("./skipped-translation-class"), exports);
|
|
28
29
|
__exportStar(require("./translatable-field-class"), exports);
|
|
29
30
|
__exportStar(require("./translation-class"), exports);
|
|
30
31
|
__exportStar(require("./update-product-language-request-dto"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL TranslationService
|
|
3
|
+
* The EMIL TranslationService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SkippedTranslationClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SkippedTranslationClass {
|
|
18
|
+
/**
|
|
19
|
+
* The translation key from the uploaded sheet.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SkippedTranslationClass
|
|
22
|
+
*/
|
|
23
|
+
'key': string;
|
|
24
|
+
/**
|
|
25
|
+
* Why the row was not saved: unknown-key, unexpected-closing-tag, mismatched-closing-tag, unclosed-tag or malformed-attribute.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SkippedTranslationClass
|
|
28
|
+
*/
|
|
29
|
+
'reason': string;
|
|
30
|
+
/**
|
|
31
|
+
* The same cause with specifics, for showing to a person. May be empty.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SkippedTranslationClass
|
|
34
|
+
*/
|
|
35
|
+
'detail': string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL TranslationService
|
|
6
|
+
* The EMIL TranslationService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SkippedTranslationClass } from './skipped-translation-class';
|
|
12
13
|
import { TranslationClass } from './translation-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -22,4 +23,16 @@ export interface UploadProductTranslationsResponseClass {
|
|
|
22
23
|
* @memberof UploadProductTranslationsResponseClass
|
|
23
24
|
*/
|
|
24
25
|
'translations': Array<TranslationClass>;
|
|
26
|
+
/**
|
|
27
|
+
* Rows that were not saved. Empty on a clean upload. Whatever was already stored for a skipped key is left untouched.
|
|
28
|
+
* @type {Array<SkippedTranslationClass>}
|
|
29
|
+
* @memberof UploadProductTranslationsResponseClass
|
|
30
|
+
*/
|
|
31
|
+
'skipped': Array<SkippedTranslationClass>;
|
|
32
|
+
/**
|
|
33
|
+
* Rows left blank in the sheet and ignored on purpose, which is what keeps an upload additive. Not a failure.
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof UploadProductTranslationsResponseClass
|
|
36
|
+
*/
|
|
37
|
+
'blankCount': number;
|
|
25
38
|
}
|
package/models/index.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './list-translations-response-class';
|
|
|
9
9
|
export * from './new-translation-class';
|
|
10
10
|
export * from './product-language-class';
|
|
11
11
|
export * from './save-product-translations-request-dto';
|
|
12
|
+
export * from './skipped-translation-class';
|
|
12
13
|
export * from './translatable-field-class';
|
|
13
14
|
export * from './translation-class';
|
|
14
15
|
export * from './update-product-language-request-dto';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL TranslationService
|
|
5
|
+
* The EMIL TranslationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SkippedTranslationClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SkippedTranslationClass {
|
|
23
|
+
/**
|
|
24
|
+
* The translation key from the uploaded sheet.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SkippedTranslationClass
|
|
27
|
+
*/
|
|
28
|
+
'key': string;
|
|
29
|
+
/**
|
|
30
|
+
* Why the row was not saved: unknown-key, unexpected-closing-tag, mismatched-closing-tag, unclosed-tag or malformed-attribute.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SkippedTranslationClass
|
|
33
|
+
*/
|
|
34
|
+
'reason': string;
|
|
35
|
+
/**
|
|
36
|
+
* The same cause with specifics, for showing to a person. May be empty.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SkippedTranslationClass
|
|
39
|
+
*/
|
|
40
|
+
'detail': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { SkippedTranslationClass } from './skipped-translation-class';
|
|
16
17
|
import { TranslationClass } from './translation-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -27,5 +28,17 @@ export interface UploadProductTranslationsResponseClass {
|
|
|
27
28
|
* @memberof UploadProductTranslationsResponseClass
|
|
28
29
|
*/
|
|
29
30
|
'translations': Array<TranslationClass>;
|
|
31
|
+
/**
|
|
32
|
+
* Rows that were not saved. Empty on a clean upload. Whatever was already stored for a skipped key is left untouched.
|
|
33
|
+
* @type {Array<SkippedTranslationClass>}
|
|
34
|
+
* @memberof UploadProductTranslationsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'skipped': Array<SkippedTranslationClass>;
|
|
37
|
+
/**
|
|
38
|
+
* Rows left blank in the sheet and ignored on purpose, which is what keeps an upload additive. Not a failure.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof UploadProductTranslationsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'blankCount': number;
|
|
30
43
|
}
|
|
31
44
|
|