@emilgroup/translation-sdk 1.10.1-beta.13 → 1.10.1-beta.2
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 +0 -6
- package/README.md +2 -2
- package/api/translation-api.ts +0 -340
- package/dist/api/translation-api.d.ts +0 -186
- package/dist/api/translation-api.js +0 -291
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -6
- package/dist/models/upload-product-translations-response-class.d.ts +0 -13
- package/models/index.ts +0 -6
- package/models/upload-product-translations-response-class.ts +0 -13
- package/package.json +1 -1
- package/dist/models/get-product-translations-response-class.d.ts +0 -25
- package/dist/models/get-product-translations-response-class.js +0 -15
- package/dist/models/new-translation-class.d.ts +0 -36
- package/dist/models/new-translation-class.js +0 -15
- package/dist/models/refresh-product-languages-response-class.d.ts +0 -31
- package/dist/models/refresh-product-languages-response-class.js +0 -15
- package/dist/models/save-product-translations-request-dto.d.ts +0 -53
- package/dist/models/save-product-translations-request-dto.js +0 -37
- package/dist/models/skipped-translation-class.d.ts +0 -36
- package/dist/models/skipped-translation-class.js +0 -15
- package/dist/models/translatable-field-class.d.ts +0 -54
- package/dist/models/translatable-field-class.js +0 -15
- package/models/get-product-translations-response-class.ts +0 -31
- package/models/new-translation-class.ts +0 -42
- package/models/refresh-product-languages-response-class.ts +0 -37
- package/models/save-product-translations-request-dto.ts +0 -62
- package/models/skipped-translation-class.ts +0 -42
- package/models/translatable-field-class.ts +0 -60
package/dist/models/index.js
CHANGED
|
@@ -17,17 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./create-product-language-request-dto"), exports);
|
|
18
18
|
__exportStar(require("./create-product-language-response-class"), exports);
|
|
19
19
|
__exportStar(require("./get-product-language-response-class"), exports);
|
|
20
|
-
__exportStar(require("./get-product-translations-response-class"), exports);
|
|
21
20
|
__exportStar(require("./inline-response200"), exports);
|
|
22
21
|
__exportStar(require("./inline-response503"), exports);
|
|
23
22
|
__exportStar(require("./list-product-languages-response-class"), exports);
|
|
24
23
|
__exportStar(require("./list-translations-response-class"), exports);
|
|
25
|
-
__exportStar(require("./new-translation-class"), exports);
|
|
26
24
|
__exportStar(require("./product-language-class"), exports);
|
|
27
|
-
__exportStar(require("./refresh-product-languages-response-class"), exports);
|
|
28
|
-
__exportStar(require("./save-product-translations-request-dto"), exports);
|
|
29
|
-
__exportStar(require("./skipped-translation-class"), exports);
|
|
30
|
-
__exportStar(require("./translatable-field-class"), exports);
|
|
31
25
|
__exportStar(require("./translation-class"), exports);
|
|
32
26
|
__exportStar(require("./update-product-language-request-dto"), exports);
|
|
33
27
|
__exportStar(require("./update-product-language-response-class"), exports);
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { SkippedTranslationClass } from './skipped-translation-class';
|
|
13
12
|
import { TranslationClass } from './translation-class';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -23,16 +22,4 @@ export interface UploadProductTranslationsResponseClass {
|
|
|
23
22
|
* @memberof UploadProductTranslationsResponseClass
|
|
24
23
|
*/
|
|
25
24
|
'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;
|
|
38
25
|
}
|
package/models/index.ts
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
export * from './create-product-language-request-dto';
|
|
2
2
|
export * from './create-product-language-response-class';
|
|
3
3
|
export * from './get-product-language-response-class';
|
|
4
|
-
export * from './get-product-translations-response-class';
|
|
5
4
|
export * from './inline-response200';
|
|
6
5
|
export * from './inline-response503';
|
|
7
6
|
export * from './list-product-languages-response-class';
|
|
8
7
|
export * from './list-translations-response-class';
|
|
9
|
-
export * from './new-translation-class';
|
|
10
8
|
export * from './product-language-class';
|
|
11
|
-
export * from './refresh-product-languages-response-class';
|
|
12
|
-
export * from './save-product-translations-request-dto';
|
|
13
|
-
export * from './skipped-translation-class';
|
|
14
|
-
export * from './translatable-field-class';
|
|
15
9
|
export * from './translation-class';
|
|
16
10
|
export * from './update-product-language-request-dto';
|
|
17
11
|
export * from './update-product-language-response-class';
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { SkippedTranslationClass } from './skipped-translation-class';
|
|
17
16
|
import { TranslationClass } from './translation-class';
|
|
18
17
|
|
|
19
18
|
/**
|
|
@@ -28,17 +27,5 @@ export interface UploadProductTranslationsResponseClass {
|
|
|
28
27
|
* @memberof UploadProductTranslationsResponseClass
|
|
29
28
|
*/
|
|
30
29
|
'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;
|
|
43
30
|
}
|
|
44
31
|
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
import { TranslatableFieldClass } from './translatable-field-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetProductTranslationsResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface GetProductTranslationsResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The list of translatableFields.
|
|
21
|
-
* @type {Array<TranslatableFieldClass>}
|
|
22
|
-
* @memberof GetProductTranslationsResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'translations': Array<TranslatableFieldClass>;
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,36 +0,0 @@
|
|
|
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 NewTranslationClass
|
|
16
|
-
*/
|
|
17
|
-
export interface NewTranslationClass {
|
|
18
|
-
/**
|
|
19
|
-
* Identifier of the translated field
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof NewTranslationClass
|
|
22
|
-
*/
|
|
23
|
-
'key': string;
|
|
24
|
-
/**
|
|
25
|
-
* Language of the translation
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof NewTranslationClass
|
|
28
|
-
*/
|
|
29
|
-
'language': string;
|
|
30
|
-
/**
|
|
31
|
-
* Translated value
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof NewTranslationClass
|
|
34
|
-
*/
|
|
35
|
-
'value': string;
|
|
36
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
import { ProductLanguageClass } from './product-language-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RefreshProductLanguagesResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface RefreshProductLanguagesResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The list of product languages.
|
|
21
|
-
* @type {Array<ProductLanguageClass>}
|
|
22
|
-
* @memberof RefreshProductLanguagesResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'items': Array<ProductLanguageClass>;
|
|
25
|
-
/**
|
|
26
|
-
* How many of the items were actually recomputed. Fewer than the number of items means the rest are answered from their stored status, and are therefore possibly out of date. Absent means unknown - an older deployment that did not report it - and a caller should say nothing rather than assume the worst.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof RefreshProductLanguagesResponseClass
|
|
29
|
-
*/
|
|
30
|
-
'refreshedCount'?: number;
|
|
31
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
import { NewTranslationClass } from './new-translation-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SaveProductTranslationsRequestDto
|
|
17
|
-
*/
|
|
18
|
-
export interface SaveProductTranslationsRequestDto {
|
|
19
|
-
/**
|
|
20
|
-
* Language of the product\'s translations
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SaveProductTranslationsRequestDto
|
|
23
|
-
*/
|
|
24
|
-
'language': SaveProductTranslationsRequestDtoLanguageEnum;
|
|
25
|
-
/**
|
|
26
|
-
* Translations to create or update, keyed by translation key
|
|
27
|
-
* @type {Array<NewTranslationClass>}
|
|
28
|
-
* @memberof SaveProductTranslationsRequestDto
|
|
29
|
-
*/
|
|
30
|
-
'translations': Array<NewTranslationClass>;
|
|
31
|
-
}
|
|
32
|
-
export declare const SaveProductTranslationsRequestDtoLanguageEnum: {
|
|
33
|
-
readonly German: "German";
|
|
34
|
-
readonly English: "English";
|
|
35
|
-
readonly Polish: "Polish";
|
|
36
|
-
readonly French: "French";
|
|
37
|
-
readonly Italian: "Italian";
|
|
38
|
-
readonly Spanish: "Spanish";
|
|
39
|
-
readonly Portuguese: "Portuguese";
|
|
40
|
-
readonly Russian: "Russian";
|
|
41
|
-
readonly Japanese: "Japanese";
|
|
42
|
-
readonly Chinese: "Chinese";
|
|
43
|
-
readonly Korean: "Korean";
|
|
44
|
-
readonly Turkish: "Turkish";
|
|
45
|
-
readonly Arabic: "Arabic";
|
|
46
|
-
readonly Hindi: "Hindi";
|
|
47
|
-
readonly Indonesian: "Indonesian";
|
|
48
|
-
readonly Thai: "Thai";
|
|
49
|
-
readonly Vietnamese: "Vietnamese";
|
|
50
|
-
readonly Persian: "Persian";
|
|
51
|
-
readonly Romanian: "Romanian";
|
|
52
|
-
};
|
|
53
|
-
export type SaveProductTranslationsRequestDtoLanguageEnum = typeof SaveProductTranslationsRequestDtoLanguageEnum[keyof typeof SaveProductTranslationsRequestDtoLanguageEnum];
|
|
@@ -1,37 +0,0 @@
|
|
|
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 });
|
|
16
|
-
exports.SaveProductTranslationsRequestDtoLanguageEnum = void 0;
|
|
17
|
-
exports.SaveProductTranslationsRequestDtoLanguageEnum = {
|
|
18
|
-
German: 'German',
|
|
19
|
-
English: 'English',
|
|
20
|
-
Polish: 'Polish',
|
|
21
|
-
French: 'French',
|
|
22
|
-
Italian: 'Italian',
|
|
23
|
-
Spanish: 'Spanish',
|
|
24
|
-
Portuguese: 'Portuguese',
|
|
25
|
-
Russian: 'Russian',
|
|
26
|
-
Japanese: 'Japanese',
|
|
27
|
-
Chinese: 'Chinese',
|
|
28
|
-
Korean: 'Korean',
|
|
29
|
-
Turkish: 'Turkish',
|
|
30
|
-
Arabic: 'Arabic',
|
|
31
|
-
Hindi: 'Hindi',
|
|
32
|
-
Indonesian: 'Indonesian',
|
|
33
|
-
Thai: 'Thai',
|
|
34
|
-
Vietnamese: 'Vietnamese',
|
|
35
|
-
Persian: 'Persian',
|
|
36
|
-
Romanian: 'Romanian'
|
|
37
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
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, unsupported-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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,54 +0,0 @@
|
|
|
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 TranslatableFieldClass
|
|
16
|
-
*/
|
|
17
|
-
export interface TranslatableFieldClass {
|
|
18
|
-
/**
|
|
19
|
-
* Identifier of the translatable field
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TranslatableFieldClass
|
|
22
|
-
*/
|
|
23
|
-
'key': string;
|
|
24
|
-
/**
|
|
25
|
-
* Value in the product\'s default language
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TranslatableFieldClass
|
|
28
|
-
*/
|
|
29
|
-
'value': string;
|
|
30
|
-
/**
|
|
31
|
-
* Language the field is being translated into
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TranslatableFieldClass
|
|
34
|
-
*/
|
|
35
|
-
'language': string;
|
|
36
|
-
/**
|
|
37
|
-
* Existing translation, or an empty string when the field is not translated yet
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof TranslatableFieldClass
|
|
40
|
-
*/
|
|
41
|
-
'translatedValue': string;
|
|
42
|
-
/**
|
|
43
|
-
* True when the translation was made from source text that has since changed. Absent means untranslated, unchanged, or recorded before this existed.
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof TranslatableFieldClass
|
|
46
|
-
*/
|
|
47
|
-
'stale'?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* The source text the translation was made from, sent only when it differs from the current one
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof TranslatableFieldClass
|
|
52
|
-
*/
|
|
53
|
-
'translatedFrom'?: string;
|
|
54
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
import { TranslatableFieldClass } from './translatable-field-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface GetProductTranslationsResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface GetProductTranslationsResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of translatableFields.
|
|
26
|
-
* @type {Array<TranslatableFieldClass>}
|
|
27
|
-
* @memberof GetProductTranslationsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'translations': Array<TranslatableFieldClass>;
|
|
30
|
-
}
|
|
31
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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 NewTranslationClass
|
|
21
|
-
*/
|
|
22
|
-
export interface NewTranslationClass {
|
|
23
|
-
/**
|
|
24
|
-
* Identifier of the translated field
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof NewTranslationClass
|
|
27
|
-
*/
|
|
28
|
-
'key': string;
|
|
29
|
-
/**
|
|
30
|
-
* Language of the translation
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof NewTranslationClass
|
|
33
|
-
*/
|
|
34
|
-
'language': string;
|
|
35
|
-
/**
|
|
36
|
-
* Translated value
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof NewTranslationClass
|
|
39
|
-
*/
|
|
40
|
-
'value': string;
|
|
41
|
-
}
|
|
42
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
import { ProductLanguageClass } from './product-language-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface RefreshProductLanguagesResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface RefreshProductLanguagesResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* The list of product languages.
|
|
26
|
-
* @type {Array<ProductLanguageClass>}
|
|
27
|
-
* @memberof RefreshProductLanguagesResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'items': Array<ProductLanguageClass>;
|
|
30
|
-
/**
|
|
31
|
-
* How many of the items were actually recomputed. Fewer than the number of items means the rest are answered from their stored status, and are therefore possibly out of date. Absent means unknown - an older deployment that did not report it - and a caller should say nothing rather than assume the worst.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof RefreshProductLanguagesResponseClass
|
|
34
|
-
*/
|
|
35
|
-
'refreshedCount'?: number;
|
|
36
|
-
}
|
|
37
|
-
|
|
@@ -1,62 +0,0 @@
|
|
|
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
|
-
import { NewTranslationClass } from './new-translation-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface SaveProductTranslationsRequestDto
|
|
22
|
-
*/
|
|
23
|
-
export interface SaveProductTranslationsRequestDto {
|
|
24
|
-
/**
|
|
25
|
-
* Language of the product\'s translations
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SaveProductTranslationsRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'language': SaveProductTranslationsRequestDtoLanguageEnum;
|
|
30
|
-
/**
|
|
31
|
-
* Translations to create or update, keyed by translation key
|
|
32
|
-
* @type {Array<NewTranslationClass>}
|
|
33
|
-
* @memberof SaveProductTranslationsRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'translations': Array<NewTranslationClass>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export const SaveProductTranslationsRequestDtoLanguageEnum = {
|
|
39
|
-
German: 'German',
|
|
40
|
-
English: 'English',
|
|
41
|
-
Polish: 'Polish',
|
|
42
|
-
French: 'French',
|
|
43
|
-
Italian: 'Italian',
|
|
44
|
-
Spanish: 'Spanish',
|
|
45
|
-
Portuguese: 'Portuguese',
|
|
46
|
-
Russian: 'Russian',
|
|
47
|
-
Japanese: 'Japanese',
|
|
48
|
-
Chinese: 'Chinese',
|
|
49
|
-
Korean: 'Korean',
|
|
50
|
-
Turkish: 'Turkish',
|
|
51
|
-
Arabic: 'Arabic',
|
|
52
|
-
Hindi: 'Hindi',
|
|
53
|
-
Indonesian: 'Indonesian',
|
|
54
|
-
Thai: 'Thai',
|
|
55
|
-
Vietnamese: 'Vietnamese',
|
|
56
|
-
Persian: 'Persian',
|
|
57
|
-
Romanian: 'Romanian'
|
|
58
|
-
} as const;
|
|
59
|
-
|
|
60
|
-
export type SaveProductTranslationsRequestDtoLanguageEnum = typeof SaveProductTranslationsRequestDtoLanguageEnum[keyof typeof SaveProductTranslationsRequestDtoLanguageEnum];
|
|
61
|
-
|
|
62
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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, unsupported-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
|
-
|