@emilgroup/translation-sdk-node 1.8.1-beta.2 → 1.8.1-beta.3

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.
@@ -0,0 +1,62 @@
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
+
@@ -0,0 +1,48 @@
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 TranslatableFieldClass
21
+ */
22
+ export interface TranslatableFieldClass {
23
+ /**
24
+ * Identifier of the translatable field
25
+ * @type {string}
26
+ * @memberof TranslatableFieldClass
27
+ */
28
+ 'key': string;
29
+ /**
30
+ * Value in the product\'s default language
31
+ * @type {string}
32
+ * @memberof TranslatableFieldClass
33
+ */
34
+ 'value': string;
35
+ /**
36
+ * Language the field is being translated into
37
+ * @type {string}
38
+ * @memberof TranslatableFieldClass
39
+ */
40
+ 'language': string;
41
+ /**
42
+ * Existing translation, or an empty string when the field is not translated yet
43
+ * @type {string}
44
+ * @memberof TranslatableFieldClass
45
+ */
46
+ 'translatedValue': string;
47
+ }
48
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/translation-sdk-node",
3
- "version": "1.8.1-beta.2",
3
+ "version": "1.8.1-beta.3",
4
4
  "description": "OpenAPI client for @emilgroup/translation-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [