@emilgroup/translation-sdk 1.10.1-beta.8 → 1.13.1-beta.106
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 -6
- package/README.md +2 -2
- package/api/{health-api.ts → default-api.ts} +13 -13
- package/api/translation-api.ts +24 -261
- package/api.ts +2 -2
- package/base.ts +0 -5
- package/dist/api/{health-api.d.ts → default-api.d.ts} +11 -11
- package/dist/api/{health-api.js → default-api.js} +22 -22
- package/dist/api/translation-api.d.ts +32 -162
- package/dist/api/translation-api.js +20 -219
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -2
- package/dist/base.js +1 -4
- package/dist/common.d.ts +1 -1
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/dist/models/upload-product-translations-response-class.d.ts +0 -13
- package/models/index.ts +0 -5
- package/models/upload-product-translations-response-class.ts +0 -13
- package/package.json +2 -3
- 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/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/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/base.ts
CHANGED
|
@@ -53,7 +53,6 @@ export enum Environment {
|
|
|
53
53
|
Staging = 'https://apiv2-staging.emil.de',
|
|
54
54
|
Development = 'https://apiv2-dev.emil.de',
|
|
55
55
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
56
|
-
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
let _retry_count = 0
|
|
@@ -166,10 +165,6 @@ export class BaseAPI {
|
|
|
166
165
|
...this.tokenData
|
|
167
166
|
});
|
|
168
167
|
}
|
|
169
|
-
|
|
170
|
-
this.storeTokenData({
|
|
171
|
-
...this.tokenData
|
|
172
|
-
});
|
|
173
168
|
}
|
|
174
169
|
|
|
175
170
|
async switchWorkspace(targetWorkspace: string): Promise<void> {
|
|
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InlineResponse200 } from '../models';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* DefaultApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
23
|
* @summary Health Check
|
|
@@ -27,10 +27,10 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
27
27
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* DefaultApi - functional programming interface
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export declare const
|
|
33
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
34
34
|
/**
|
|
35
35
|
* Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
36
36
|
* @summary Health Check
|
|
@@ -40,10 +40,10 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
40
40
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* DefaultApi - factory interface
|
|
44
44
|
* @export
|
|
45
45
|
*/
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
47
|
/**
|
|
48
48
|
* Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
49
49
|
* @summary Health Check
|
|
@@ -53,18 +53,18 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
53
53
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* DefaultApi - object-oriented interface
|
|
57
57
|
* @export
|
|
58
|
-
* @class
|
|
58
|
+
* @class DefaultApi
|
|
59
59
|
* @extends {BaseAPI}
|
|
60
60
|
*/
|
|
61
|
-
export declare class
|
|
61
|
+
export declare class DefaultApi extends BaseAPI {
|
|
62
62
|
/**
|
|
63
63
|
* Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
64
64
|
* @summary Health Check
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof DefaultApi
|
|
68
68
|
*/
|
|
69
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
|
|
70
70
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* DefaultApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var DefaultApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -124,13 +124,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
},
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
127
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* DefaultApi - functional programming interface
|
|
130
130
|
* @export
|
|
131
131
|
*/
|
|
132
|
-
var
|
|
133
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
132
|
+
var DefaultApiFp = function (configuration) {
|
|
133
|
+
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
134
134
|
return {
|
|
135
135
|
/**
|
|
136
136
|
* Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -153,13 +153,13 @@ var HealthApiFp = function (configuration) {
|
|
|
153
153
|
},
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
|
-
exports.
|
|
156
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* DefaultApi - factory interface
|
|
159
159
|
* @export
|
|
160
160
|
*/
|
|
161
|
-
var
|
|
162
|
-
var localVarFp = (0, exports.
|
|
161
|
+
var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
162
|
+
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
163
163
|
return {
|
|
164
164
|
/**
|
|
165
165
|
* Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -172,16 +172,16 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
172
172
|
},
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
|
-
exports.
|
|
175
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
176
176
|
/**
|
|
177
|
-
*
|
|
177
|
+
* DefaultApi - object-oriented interface
|
|
178
178
|
* @export
|
|
179
|
-
* @class
|
|
179
|
+
* @class DefaultApi
|
|
180
180
|
* @extends {BaseAPI}
|
|
181
181
|
*/
|
|
182
|
-
var
|
|
183
|
-
__extends(
|
|
184
|
-
function
|
|
182
|
+
var DefaultApi = /** @class */ (function (_super) {
|
|
183
|
+
__extends(DefaultApi, _super);
|
|
184
|
+
function DefaultApi() {
|
|
185
185
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
@@ -189,12 +189,12 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
189
189
|
* @summary Health Check
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
|
-
* @memberof
|
|
192
|
+
* @memberof DefaultApi
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
DefaultApi.prototype.check = function (options) {
|
|
195
195
|
var _this = this;
|
|
196
|
-
return (0, exports.
|
|
196
|
+
return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
197
197
|
};
|
|
198
|
-
return
|
|
198
|
+
return DefaultApi;
|
|
199
199
|
}(base_1.BaseAPI));
|
|
200
|
-
exports.
|
|
200
|
+
exports.DefaultApi = DefaultApi;
|
|
@@ -15,10 +15,8 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateProductLanguageRequestDto } from '../models';
|
|
16
16
|
import { CreateProductLanguageResponseClass } from '../models';
|
|
17
17
|
import { GetProductLanguageResponseClass } from '../models';
|
|
18
|
-
import { GetProductTranslationsResponseClass } from '../models';
|
|
19
18
|
import { ListProductLanguagesResponseClass } from '../models';
|
|
20
19
|
import { ListTranslationsResponseClass } from '../models';
|
|
21
|
-
import { SaveProductTranslationsRequestDto } from '../models';
|
|
22
20
|
import { UpdateProductLanguageRequestDto } from '../models';
|
|
23
21
|
import { UpdateProductLanguageResponseClass } from '../models';
|
|
24
22
|
import { UploadProductTranslationsResponseClass } from '../models';
|
|
@@ -65,55 +63,35 @@ export declare const TranslationApiAxiosParamCreator: (configuration?: Configura
|
|
|
65
63
|
*/
|
|
66
64
|
getProductLanguage: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
65
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @summary Retrieve the product translations
|
|
70
|
-
* @param {string} productSlug
|
|
71
|
-
* @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
|
|
72
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
getProductTranslations: (productSlug: string, language: 'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian', authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
-
/**
|
|
78
|
-
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
66
|
+
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
79
67
|
* @summary List product languages
|
|
80
68
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
81
69
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
82
70
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
83
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
71
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
84
72
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, language</i>
|
|
85
73
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, language, isActive, translationStatus, createdAt, updatedAt</i>
|
|
86
74
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
87
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
75
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
88
76
|
* @param {*} [options] Override http request option.
|
|
89
77
|
* @throws {RequiredError}
|
|
90
78
|
*/
|
|
91
79
|
listProductLanguages: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
80
|
/**
|
|
93
|
-
* Returns a list of translations you have previously created.
|
|
81
|
+
* Returns a list of translations you have previously created. The translations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
94
82
|
* @summary List translations
|
|
95
83
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
84
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
97
85
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
98
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
86
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: key</i>
|
|
99
87
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: key</i>
|
|
100
88
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, key</i>
|
|
101
89
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
102
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
90
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: key</i>
|
|
103
91
|
* @param {*} [options] Override http request option.
|
|
104
92
|
* @throws {RequiredError}
|
|
105
93
|
*/
|
|
106
94
|
listTranslations: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
107
|
-
/**
|
|
108
|
-
* This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
|
|
109
|
-
* @summary Create the product translations
|
|
110
|
-
* @param {string} productSlug
|
|
111
|
-
* @param {SaveProductTranslationsRequestDto} saveProductTranslationsRequestDto
|
|
112
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
|
-
* @param {*} [options] Override http request option.
|
|
114
|
-
* @throws {RequiredError}
|
|
115
|
-
*/
|
|
116
|
-
saveProductTranslations: (productSlug: string, saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
95
|
/**
|
|
118
96
|
* This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
|
|
119
97
|
* @summary Update the product language
|
|
@@ -178,55 +156,35 @@ export declare const TranslationApiFp: (configuration?: Configuration) => {
|
|
|
178
156
|
*/
|
|
179
157
|
getProductLanguage(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductLanguageResponseClass>>;
|
|
180
158
|
/**
|
|
181
|
-
*
|
|
182
|
-
* @summary Retrieve the product translations
|
|
183
|
-
* @param {string} productSlug
|
|
184
|
-
* @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
|
|
185
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
|
-
* @param {*} [options] Override http request option.
|
|
187
|
-
* @throws {RequiredError}
|
|
188
|
-
*/
|
|
189
|
-
getProductTranslations(productSlug: string, language: 'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductTranslationsResponseClass>>;
|
|
190
|
-
/**
|
|
191
|
-
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
159
|
+
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
192
160
|
* @summary List product languages
|
|
193
161
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
194
162
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
195
163
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
196
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
164
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
197
165
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, language</i>
|
|
198
166
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, language, isActive, translationStatus, createdAt, updatedAt</i>
|
|
199
167
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
200
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
168
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
201
169
|
* @param {*} [options] Override http request option.
|
|
202
170
|
* @throws {RequiredError}
|
|
203
171
|
*/
|
|
204
172
|
listProductLanguages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductLanguagesResponseClass>>;
|
|
205
173
|
/**
|
|
206
|
-
* Returns a list of translations you have previously created.
|
|
174
|
+
* Returns a list of translations you have previously created. The translations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
207
175
|
* @summary List translations
|
|
208
176
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
209
177
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
210
178
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
211
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
179
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: key</i>
|
|
212
180
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: key</i>
|
|
213
181
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, key</i>
|
|
214
182
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
215
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
183
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: key</i>
|
|
216
184
|
* @param {*} [options] Override http request option.
|
|
217
185
|
* @throws {RequiredError}
|
|
218
186
|
*/
|
|
219
187
|
listTranslations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTranslationsResponseClass>>;
|
|
220
|
-
/**
|
|
221
|
-
* This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
|
|
222
|
-
* @summary Create the product translations
|
|
223
|
-
* @param {string} productSlug
|
|
224
|
-
* @param {SaveProductTranslationsRequestDto} saveProductTranslationsRequestDto
|
|
225
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
226
|
-
* @param {*} [options] Override http request option.
|
|
227
|
-
* @throws {RequiredError}
|
|
228
|
-
*/
|
|
229
|
-
saveProductTranslations(productSlug: string, saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadProductTranslationsResponseClass>>;
|
|
230
188
|
/**
|
|
231
189
|
* This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
|
|
232
190
|
* @summary Update the product language
|
|
@@ -291,55 +249,35 @@ export declare const TranslationApiFactory: (configuration?: Configuration, base
|
|
|
291
249
|
*/
|
|
292
250
|
getProductLanguage(id: number, authorization?: string, options?: any): AxiosPromise<GetProductLanguageResponseClass>;
|
|
293
251
|
/**
|
|
294
|
-
*
|
|
295
|
-
* @summary Retrieve the product translations
|
|
296
|
-
* @param {string} productSlug
|
|
297
|
-
* @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
|
|
298
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
299
|
-
* @param {*} [options] Override http request option.
|
|
300
|
-
* @throws {RequiredError}
|
|
301
|
-
*/
|
|
302
|
-
getProductTranslations(productSlug: string, language: 'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian', authorization?: string, options?: any): AxiosPromise<GetProductTranslationsResponseClass>;
|
|
303
|
-
/**
|
|
304
|
-
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
252
|
+
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
305
253
|
* @summary List product languages
|
|
306
254
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
307
255
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
308
256
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
309
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
257
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
310
258
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, language</i>
|
|
311
259
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, language, isActive, translationStatus, createdAt, updatedAt</i>
|
|
312
260
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
313
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
261
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
314
262
|
* @param {*} [options] Override http request option.
|
|
315
263
|
* @throws {RequiredError}
|
|
316
264
|
*/
|
|
317
265
|
listProductLanguages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductLanguagesResponseClass>;
|
|
318
266
|
/**
|
|
319
|
-
* Returns a list of translations you have previously created.
|
|
267
|
+
* Returns a list of translations you have previously created. The translations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
320
268
|
* @summary List translations
|
|
321
269
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
322
270
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
323
271
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
324
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
272
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: key</i>
|
|
325
273
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: key</i>
|
|
326
274
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, key</i>
|
|
327
275
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
328
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
276
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: key</i>
|
|
329
277
|
* @param {*} [options] Override http request option.
|
|
330
278
|
* @throws {RequiredError}
|
|
331
279
|
*/
|
|
332
280
|
listTranslations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTranslationsResponseClass>;
|
|
333
|
-
/**
|
|
334
|
-
* This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
|
|
335
|
-
* @summary Create the product translations
|
|
336
|
-
* @param {string} productSlug
|
|
337
|
-
* @param {SaveProductTranslationsRequestDto} saveProductTranslationsRequestDto
|
|
338
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
339
|
-
* @param {*} [options] Override http request option.
|
|
340
|
-
* @throws {RequiredError}
|
|
341
|
-
*/
|
|
342
|
-
saveProductTranslations(productSlug: string, saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto, authorization?: string, options?: any): AxiosPromise<UploadProductTranslationsResponseClass>;
|
|
343
281
|
/**
|
|
344
282
|
* This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
|
|
345
283
|
* @summary Update the product language
|
|
@@ -443,31 +381,6 @@ export interface TranslationApiGetProductLanguageRequest {
|
|
|
443
381
|
*/
|
|
444
382
|
readonly authorization?: string;
|
|
445
383
|
}
|
|
446
|
-
/**
|
|
447
|
-
* Request parameters for getProductTranslations operation in TranslationApi.
|
|
448
|
-
* @export
|
|
449
|
-
* @interface TranslationApiGetProductTranslationsRequest
|
|
450
|
-
*/
|
|
451
|
-
export interface TranslationApiGetProductTranslationsRequest {
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {string}
|
|
455
|
-
* @memberof TranslationApiGetProductTranslations
|
|
456
|
-
*/
|
|
457
|
-
readonly productSlug: string;
|
|
458
|
-
/**
|
|
459
|
-
*
|
|
460
|
-
* @type {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'}
|
|
461
|
-
* @memberof TranslationApiGetProductTranslations
|
|
462
|
-
*/
|
|
463
|
-
readonly language: 'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian';
|
|
464
|
-
/**
|
|
465
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
466
|
-
* @type {string}
|
|
467
|
-
* @memberof TranslationApiGetProductTranslations
|
|
468
|
-
*/
|
|
469
|
-
readonly authorization?: string;
|
|
470
|
-
}
|
|
471
384
|
/**
|
|
472
385
|
* Request parameters for listProductLanguages operation in TranslationApi.
|
|
473
386
|
* @export
|
|
@@ -493,7 +406,7 @@ export interface TranslationApiListProductLanguagesRequest {
|
|
|
493
406
|
*/
|
|
494
407
|
readonly pageToken?: string;
|
|
495
408
|
/**
|
|
496
|
-
* Filter the response by one or multiple fields.
|
|
409
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
497
410
|
* @type {string}
|
|
498
411
|
* @memberof TranslationApiListProductLanguages
|
|
499
412
|
*/
|
|
@@ -517,7 +430,7 @@ export interface TranslationApiListProductLanguagesRequest {
|
|
|
517
430
|
*/
|
|
518
431
|
readonly expand?: string;
|
|
519
432
|
/**
|
|
520
|
-
* Filters the response by one or multiple fields.
|
|
433
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt</i>
|
|
521
434
|
* @type {string}
|
|
522
435
|
* @memberof TranslationApiListProductLanguages
|
|
523
436
|
*/
|
|
@@ -548,7 +461,7 @@ export interface TranslationApiListTranslationsRequest {
|
|
|
548
461
|
*/
|
|
549
462
|
readonly pageToken?: string;
|
|
550
463
|
/**
|
|
551
|
-
* Filter the response by one or multiple fields.
|
|
464
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: key</i>
|
|
552
465
|
* @type {string}
|
|
553
466
|
* @memberof TranslationApiListTranslations
|
|
554
467
|
*/
|
|
@@ -572,37 +485,12 @@ export interface TranslationApiListTranslationsRequest {
|
|
|
572
485
|
*/
|
|
573
486
|
readonly expand?: string;
|
|
574
487
|
/**
|
|
575
|
-
* Filters the response by one or multiple fields.
|
|
488
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: key</i>
|
|
576
489
|
* @type {string}
|
|
577
490
|
* @memberof TranslationApiListTranslations
|
|
578
491
|
*/
|
|
579
492
|
readonly filters?: string;
|
|
580
493
|
}
|
|
581
|
-
/**
|
|
582
|
-
* Request parameters for saveProductTranslations operation in TranslationApi.
|
|
583
|
-
* @export
|
|
584
|
-
* @interface TranslationApiSaveProductTranslationsRequest
|
|
585
|
-
*/
|
|
586
|
-
export interface TranslationApiSaveProductTranslationsRequest {
|
|
587
|
-
/**
|
|
588
|
-
*
|
|
589
|
-
* @type {string}
|
|
590
|
-
* @memberof TranslationApiSaveProductTranslations
|
|
591
|
-
*/
|
|
592
|
-
readonly productSlug: string;
|
|
593
|
-
/**
|
|
594
|
-
*
|
|
595
|
-
* @type {SaveProductTranslationsRequestDto}
|
|
596
|
-
* @memberof TranslationApiSaveProductTranslations
|
|
597
|
-
*/
|
|
598
|
-
readonly saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto;
|
|
599
|
-
/**
|
|
600
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
601
|
-
* @type {string}
|
|
602
|
-
* @memberof TranslationApiSaveProductTranslations
|
|
603
|
-
*/
|
|
604
|
-
readonly authorization?: string;
|
|
605
|
-
}
|
|
606
494
|
/**
|
|
607
495
|
* Request parameters for updateProductLanguage operation in TranslationApi.
|
|
608
496
|
* @export
|
|
@@ -668,7 +556,7 @@ export declare class TranslationApi extends BaseAPI {
|
|
|
668
556
|
* @throws {RequiredError}
|
|
669
557
|
* @memberof TranslationApi
|
|
670
558
|
*/
|
|
671
|
-
createProductLanguage(requestParameters: TranslationApiCreateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductLanguageResponseClass, any
|
|
559
|
+
createProductLanguage(requestParameters: TranslationApiCreateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductLanguageResponseClass, any>>;
|
|
672
560
|
/**
|
|
673
561
|
* Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it. **Required Permissions** \"translation-management.translations.delete\"
|
|
674
562
|
* @summary Delete the product language
|
|
@@ -677,7 +565,7 @@ export declare class TranslationApi extends BaseAPI {
|
|
|
677
565
|
* @throws {RequiredError}
|
|
678
566
|
* @memberof TranslationApi
|
|
679
567
|
*/
|
|
680
|
-
deleteProductLanguage(requestParameters: TranslationApiDeleteProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any
|
|
568
|
+
deleteProductLanguage(requestParameters: TranslationApiDeleteProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
681
569
|
/**
|
|
682
570
|
* This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
|
|
683
571
|
* @summary Retrieve the product translations
|
|
@@ -686,7 +574,7 @@ export declare class TranslationApi extends BaseAPI {
|
|
|
686
574
|
* @throws {RequiredError}
|
|
687
575
|
* @memberof TranslationApi
|
|
688
576
|
*/
|
|
689
|
-
downloadProductTranslations(requestParameters: TranslationApiDownloadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any
|
|
577
|
+
downloadProductTranslations(requestParameters: TranslationApiDownloadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
690
578
|
/**
|
|
691
579
|
* This gets a product language. **Required Permissions** \"translation-management.translations.view\"
|
|
692
580
|
* @summary Retrieve the product language
|
|
@@ -695,43 +583,25 @@ export declare class TranslationApi extends BaseAPI {
|
|
|
695
583
|
* @throws {RequiredError}
|
|
696
584
|
* @memberof TranslationApi
|
|
697
585
|
*/
|
|
698
|
-
getProductLanguage(requestParameters: TranslationApiGetProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductLanguageResponseClass, any
|
|
586
|
+
getProductLanguage(requestParameters: TranslationApiGetProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductLanguageResponseClass, any>>;
|
|
699
587
|
/**
|
|
700
|
-
*
|
|
701
|
-
* @summary Retrieve the product translations
|
|
702
|
-
* @param {TranslationApiGetProductTranslationsRequest} requestParameters Request parameters.
|
|
703
|
-
* @param {*} [options] Override http request option.
|
|
704
|
-
* @throws {RequiredError}
|
|
705
|
-
* @memberof TranslationApi
|
|
706
|
-
*/
|
|
707
|
-
getProductTranslations(requestParameters: TranslationApiGetProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductTranslationsResponseClass, any, {}>>;
|
|
708
|
-
/**
|
|
709
|
-
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
588
|
+
* Returns a list of product languages you have previously created. The product languages are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
710
589
|
* @summary List product languages
|
|
711
590
|
* @param {TranslationApiListProductLanguagesRequest} requestParameters Request parameters.
|
|
712
591
|
* @param {*} [options] Override http request option.
|
|
713
592
|
* @throws {RequiredError}
|
|
714
593
|
* @memberof TranslationApi
|
|
715
594
|
*/
|
|
716
|
-
listProductLanguages(requestParameters?: TranslationApiListProductLanguagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductLanguagesResponseClass, any
|
|
595
|
+
listProductLanguages(requestParameters?: TranslationApiListProductLanguagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductLanguagesResponseClass, any>>;
|
|
717
596
|
/**
|
|
718
|
-
* Returns a list of translations you have previously created.
|
|
597
|
+
* Returns a list of translations you have previously created. The translations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"translation-management.translations.view\"
|
|
719
598
|
* @summary List translations
|
|
720
599
|
* @param {TranslationApiListTranslationsRequest} requestParameters Request parameters.
|
|
721
600
|
* @param {*} [options] Override http request option.
|
|
722
601
|
* @throws {RequiredError}
|
|
723
602
|
* @memberof TranslationApi
|
|
724
603
|
*/
|
|
725
|
-
listTranslations(requestParameters?: TranslationApiListTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTranslationsResponseClass, any
|
|
726
|
-
/**
|
|
727
|
-
* This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
|
|
728
|
-
* @summary Create the product translations
|
|
729
|
-
* @param {TranslationApiSaveProductTranslationsRequest} requestParameters Request parameters.
|
|
730
|
-
* @param {*} [options] Override http request option.
|
|
731
|
-
* @throws {RequiredError}
|
|
732
|
-
* @memberof TranslationApi
|
|
733
|
-
*/
|
|
734
|
-
saveProductTranslations(requestParameters: TranslationApiSaveProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadProductTranslationsResponseClass, any, {}>>;
|
|
604
|
+
listTranslations(requestParameters?: TranslationApiListTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTranslationsResponseClass, any>>;
|
|
735
605
|
/**
|
|
736
606
|
* This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
|
|
737
607
|
* @summary Update the product language
|
|
@@ -740,7 +610,7 @@ export declare class TranslationApi extends BaseAPI {
|
|
|
740
610
|
* @throws {RequiredError}
|
|
741
611
|
* @memberof TranslationApi
|
|
742
612
|
*/
|
|
743
|
-
updateProductLanguage(requestParameters: TranslationApiUpdateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductLanguageResponseClass, any
|
|
613
|
+
updateProductLanguage(requestParameters: TranslationApiUpdateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductLanguageResponseClass, any>>;
|
|
744
614
|
/**
|
|
745
615
|
* This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
|
|
746
616
|
* @summary Create the product translations
|
|
@@ -749,5 +619,5 @@ export declare class TranslationApi extends BaseAPI {
|
|
|
749
619
|
* @throws {RequiredError}
|
|
750
620
|
* @memberof TranslationApi
|
|
751
621
|
*/
|
|
752
|
-
uploadProductTranslations(requestParameters: TranslationApiUploadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadProductTranslationsResponseClass, any
|
|
622
|
+
uploadProductTranslations(requestParameters: TranslationApiUploadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadProductTranslationsResponseClass, any>>;
|
|
753
623
|
}
|