@emilgroup/translation-sdk-node 1.0.0

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.
Files changed (55) hide show
  1. package/.openapi-generator/FILES +23 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +68 -0
  5. package/api/translation-api.ts +1145 -0
  6. package/api.ts +31 -0
  7. package/base.ts +284 -0
  8. package/common.ts +199 -0
  9. package/configuration.ts +109 -0
  10. package/dist/api/translation-api.d.ts +649 -0
  11. package/dist/api/translation-api.js +989 -0
  12. package/dist/api.d.ts +12 -0
  13. package/dist/api.js +30 -0
  14. package/dist/base.d.ts +77 -0
  15. package/dist/base.js +393 -0
  16. package/dist/common.d.ts +92 -0
  17. package/dist/common.js +277 -0
  18. package/dist/configuration.d.ts +90 -0
  19. package/dist/configuration.js +44 -0
  20. package/dist/index.d.ts +15 -0
  21. package/dist/index.js +36 -0
  22. package/dist/models/create-product-language-request-dto.d.ts +58 -0
  23. package/dist/models/create-product-language-request-dto.js +37 -0
  24. package/dist/models/create-product-language-response-class.d.ts +25 -0
  25. package/dist/models/create-product-language-response-class.js +15 -0
  26. package/dist/models/index.d.ts +9 -0
  27. package/dist/models/index.js +25 -0
  28. package/dist/models/list-product-languages-response-class.d.ts +31 -0
  29. package/dist/models/list-product-languages-response-class.js +15 -0
  30. package/dist/models/list-translations-response-class.d.ts +31 -0
  31. package/dist/models/list-translations-response-class.js +15 -0
  32. package/dist/models/product-language-class.d.ts +82 -0
  33. package/dist/models/product-language-class.js +37 -0
  34. package/dist/models/translation-class.d.ts +54 -0
  35. package/dist/models/translation-class.js +15 -0
  36. package/dist/models/update-product-language-request-dto.d.ts +58 -0
  37. package/dist/models/update-product-language-request-dto.js +37 -0
  38. package/dist/models/update-product-language-response-class.d.ts +25 -0
  39. package/dist/models/update-product-language-response-class.js +15 -0
  40. package/dist/models/upload-product-translations-response-class.d.ts +25 -0
  41. package/dist/models/upload-product-translations-response-class.js +15 -0
  42. package/git_push.sh +57 -0
  43. package/index.ts +19 -0
  44. package/models/create-product-language-request-dto.ts +67 -0
  45. package/models/create-product-language-response-class.ts +31 -0
  46. package/models/index.ts +9 -0
  47. package/models/list-product-languages-response-class.ts +37 -0
  48. package/models/list-translations-response-class.ts +37 -0
  49. package/models/product-language-class.ts +91 -0
  50. package/models/translation-class.ts +60 -0
  51. package/models/update-product-language-request-dto.ts +67 -0
  52. package/models/update-product-language-response-class.ts +31 -0
  53. package/models/upload-product-translations-response-class.ts +31 -0
  54. package/package.json +29 -0
  55. package/tsconfig.json +22 -0
@@ -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 });
@@ -0,0 +1,31 @@
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 { TranslationClass } from './translation-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListTranslationsResponseClass
17
+ */
18
+ export interface ListTranslationsResponseClass {
19
+ /**
20
+ * The list of translations.
21
+ * @type {Array<TranslationClass>}
22
+ * @memberof ListTranslationsResponseClass
23
+ */
24
+ 'items': Array<TranslationClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListTranslationsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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 });
@@ -0,0 +1,82 @@
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 ProductLanguageClass
16
+ */
17
+ export interface ProductLanguageClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ProductLanguageClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
+ * @type {string}
27
+ * @memberof ProductLanguageClass
28
+ */
29
+ 'productSlug': string;
30
+ /**
31
+ * The language of the product.
32
+ * @type {string}
33
+ * @memberof ProductLanguageClass
34
+ */
35
+ 'language': ProductLanguageClassLanguageEnum;
36
+ /**
37
+ * Indicates whether the language is activated for the product.
38
+ * @type {boolean}
39
+ * @memberof ProductLanguageClass
40
+ */
41
+ 'isActive': boolean;
42
+ /**
43
+ * The translation status. It tells if the language is ready to be used in the product. Can be null in the default language.
44
+ * @type {string}
45
+ * @memberof ProductLanguageClass
46
+ */
47
+ 'translationStatus': string | null;
48
+ /**
49
+ * Time at which the object was created.
50
+ * @type {string}
51
+ * @memberof ProductLanguageClass
52
+ */
53
+ 'createdAt': string;
54
+ /**
55
+ * Time at which the object was updated.
56
+ * @type {string}
57
+ * @memberof ProductLanguageClass
58
+ */
59
+ 'updatedAt': string;
60
+ }
61
+ export declare const ProductLanguageClassLanguageEnum: {
62
+ readonly German: "German";
63
+ readonly English: "English";
64
+ readonly Polish: "Polish";
65
+ readonly French: "French";
66
+ readonly Italian: "Italian";
67
+ readonly Spanish: "Spanish";
68
+ readonly Portuguese: "Portuguese";
69
+ readonly Russian: "Russian";
70
+ readonly Japanese: "Japanese";
71
+ readonly Chinese: "Chinese";
72
+ readonly Korean: "Korean";
73
+ readonly Turkish: "Turkish";
74
+ readonly Arabic: "Arabic";
75
+ readonly Hindi: "Hindi";
76
+ readonly Indonesian: "Indonesian";
77
+ readonly Thai: "Thai";
78
+ readonly Vietnamese: "Vietnamese";
79
+ readonly Persian: "Persian";
80
+ readonly Romanian: "Romanian";
81
+ };
82
+ export type ProductLanguageClassLanguageEnum = typeof ProductLanguageClassLanguageEnum[keyof typeof ProductLanguageClassLanguageEnum];
@@ -0,0 +1,37 @@
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.ProductLanguageClassLanguageEnum = void 0;
17
+ exports.ProductLanguageClassLanguageEnum = {
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
+ };
@@ -0,0 +1,54 @@
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 TranslationClass
16
+ */
17
+ export interface TranslationClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof TranslationClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Identifier of the translated field
26
+ * @type {string}
27
+ * @memberof TranslationClass
28
+ */
29
+ 'key': string;
30
+ /**
31
+ * Language of the translation
32
+ * @type {string}
33
+ * @memberof TranslationClass
34
+ */
35
+ 'language': string;
36
+ /**
37
+ * Translated value
38
+ * @type {string}
39
+ * @memberof TranslationClass
40
+ */
41
+ 'value': string;
42
+ /**
43
+ * Time at which the object was created.
44
+ * @type {string}
45
+ * @memberof TranslationClass
46
+ */
47
+ 'createdAt': string;
48
+ /**
49
+ * Time at which the object was updated.
50
+ * @type {string}
51
+ * @memberof TranslationClass
52
+ */
53
+ 'updatedAt': string;
54
+ }
@@ -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 });
@@ -0,0 +1,58 @@
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 UpdateProductLanguageRequestDto
16
+ */
17
+ export interface UpdateProductLanguageRequestDto {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof UpdateProductLanguageRequestDto
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Language of the product.
26
+ * @type {string}
27
+ * @memberof UpdateProductLanguageRequestDto
28
+ */
29
+ 'language': UpdateProductLanguageRequestDtoLanguageEnum;
30
+ /**
31
+ * Indicates whether the language is activated for the product.
32
+ * @type {boolean}
33
+ * @memberof UpdateProductLanguageRequestDto
34
+ */
35
+ 'isActive': boolean;
36
+ }
37
+ export declare const UpdateProductLanguageRequestDtoLanguageEnum: {
38
+ readonly German: "German";
39
+ readonly English: "English";
40
+ readonly Polish: "Polish";
41
+ readonly French: "French";
42
+ readonly Italian: "Italian";
43
+ readonly Spanish: "Spanish";
44
+ readonly Portuguese: "Portuguese";
45
+ readonly Russian: "Russian";
46
+ readonly Japanese: "Japanese";
47
+ readonly Chinese: "Chinese";
48
+ readonly Korean: "Korean";
49
+ readonly Turkish: "Turkish";
50
+ readonly Arabic: "Arabic";
51
+ readonly Hindi: "Hindi";
52
+ readonly Indonesian: "Indonesian";
53
+ readonly Thai: "Thai";
54
+ readonly Vietnamese: "Vietnamese";
55
+ readonly Persian: "Persian";
56
+ readonly Romanian: "Romanian";
57
+ };
58
+ export type UpdateProductLanguageRequestDtoLanguageEnum = typeof UpdateProductLanguageRequestDtoLanguageEnum[keyof typeof UpdateProductLanguageRequestDtoLanguageEnum];
@@ -0,0 +1,37 @@
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.UpdateProductLanguageRequestDtoLanguageEnum = void 0;
17
+ exports.UpdateProductLanguageRequestDtoLanguageEnum = {
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
+ };
@@ -0,0 +1,25 @@
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 UpdateProductLanguageResponseClass
17
+ */
18
+ export interface UpdateProductLanguageResponseClass {
19
+ /**
20
+ * The updated product language.
21
+ * @type {ProductLanguageClass}
22
+ * @memberof UpdateProductLanguageResponseClass
23
+ */
24
+ 'productLanguage': ProductLanguageClass;
25
+ }
@@ -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 });
@@ -0,0 +1,25 @@
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 { TranslationClass } from './translation-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UploadProductTranslationsResponseClass
17
+ */
18
+ export interface UploadProductTranslationsResponseClass {
19
+ /**
20
+ * The list of translations.
21
+ * @type {Array<TranslationClass>}
22
+ * @memberof UploadProductTranslationsResponseClass
23
+ */
24
+ 'translations': Array<TranslationClass>;
25
+ }
@@ -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 });
package/git_push.sh ADDED
@@ -0,0 +1,57 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="Emil"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="translation-sdk-node"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=$(git remote)
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
package/index.ts ADDED
@@ -0,0 +1,19 @@
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
+ export { Environment, BaseAPI } from "./base";
17
+ export * from "./api";
18
+ export * from "./configuration";
19
+ export * from "./models";
@@ -0,0 +1,67 @@
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 CreateProductLanguageRequestDto
21
+ */
22
+ export interface CreateProductLanguageRequestDto {
23
+ /**
24
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
+ * @type {string}
26
+ * @memberof CreateProductLanguageRequestDto
27
+ */
28
+ 'productSlug': string;
29
+ /**
30
+ * Language of the product.
31
+ * @type {string}
32
+ * @memberof CreateProductLanguageRequestDto
33
+ */
34
+ 'language': CreateProductLanguageRequestDtoLanguageEnum;
35
+ /**
36
+ * Indicates whether the language is activated for the product.
37
+ * @type {boolean}
38
+ * @memberof CreateProductLanguageRequestDto
39
+ */
40
+ 'isActive': boolean;
41
+ }
42
+
43
+ export const CreateProductLanguageRequestDtoLanguageEnum = {
44
+ German: 'German',
45
+ English: 'English',
46
+ Polish: 'Polish',
47
+ French: 'French',
48
+ Italian: 'Italian',
49
+ Spanish: 'Spanish',
50
+ Portuguese: 'Portuguese',
51
+ Russian: 'Russian',
52
+ Japanese: 'Japanese',
53
+ Chinese: 'Chinese',
54
+ Korean: 'Korean',
55
+ Turkish: 'Turkish',
56
+ Arabic: 'Arabic',
57
+ Hindi: 'Hindi',
58
+ Indonesian: 'Indonesian',
59
+ Thai: 'Thai',
60
+ Vietnamese: 'Vietnamese',
61
+ Persian: 'Persian',
62
+ Romanian: 'Romanian'
63
+ } as const;
64
+
65
+ export type CreateProductLanguageRequestDtoLanguageEnum = typeof CreateProductLanguageRequestDtoLanguageEnum[keyof typeof CreateProductLanguageRequestDtoLanguageEnum];
66
+
67
+
@@ -0,0 +1,31 @@
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 CreateProductLanguageResponseClass
22
+ */
23
+ export interface CreateProductLanguageResponseClass {
24
+ /**
25
+ * The created product language.
26
+ * @type {ProductLanguageClass}
27
+ * @memberof CreateProductLanguageResponseClass
28
+ */
29
+ 'productLanguage': ProductLanguageClass;
30
+ }
31
+
@@ -0,0 +1,9 @@
1
+ export * from './create-product-language-request-dto';
2
+ export * from './create-product-language-response-class';
3
+ export * from './list-product-languages-response-class';
4
+ export * from './list-translations-response-class';
5
+ export * from './product-language-class';
6
+ export * from './translation-class';
7
+ export * from './update-product-language-request-dto';
8
+ export * from './update-product-language-response-class';
9
+ export * from './upload-product-translations-response-class';
@@ -0,0 +1,37 @@
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 ListProductLanguagesResponseClass
22
+ */
23
+ export interface ListProductLanguagesResponseClass {
24
+ /**
25
+ * The list of product languages.
26
+ * @type {Array<ProductLanguageClass>}
27
+ * @memberof ListProductLanguagesResponseClass
28
+ */
29
+ 'items': Array<ProductLanguageClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListProductLanguagesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+