@emilgroup/translation-sdk-node 1.1.0 → 1.1.1-beta.11

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.
@@ -26,7 +26,7 @@ import { UploadProductTranslationsResponseClass } from '../models';
26
26
  */
27
27
  export declare const TranslationApiAxiosParamCreator: (configuration?: Configuration) => {
28
28
  /**
29
- * This creates a product language.
29
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
30
30
  * @summary Create the product language
31
31
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
32
32
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -35,7 +35,7 @@ export declare const TranslationApiAxiosParamCreator: (configuration?: Configura
35
35
  */
36
36
  createProductLanguage: (createProductLanguageRequestDto: CreateProductLanguageRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
37
  /**
38
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
38
+ * 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\"
39
39
  * @summary Delete the product language
40
40
  * @param {number} id Id of the product language.
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -44,7 +44,7 @@ export declare const TranslationApiAxiosParamCreator: (configuration?: Configura
44
44
  */
45
45
  deleteProductLanguage: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
46
  /**
47
- * This downloads the list of translatable fields for a given product.
47
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
48
48
  * @summary Retrieve the product translations
49
49
  * @param {string} productSlug
50
50
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -54,7 +54,7 @@ export declare const TranslationApiAxiosParamCreator: (configuration?: Configura
54
54
  */
55
55
  downloadProductTranslations: (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>;
56
56
  /**
57
- * This gets a product language.
57
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
58
58
  * @summary Retrieve the product language
59
59
  * @param {number} id Id of the product language.
60
60
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -63,35 +63,37 @@ export declare const TranslationApiAxiosParamCreator: (configuration?: Configura
63
63
  */
64
64
  getProductLanguage: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
65
  /**
66
- * This lists the product languages.
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\"
67
67
  * @summary List product languages
68
68
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
71
- * @param {'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
72
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
73
- * @param {'0' | '1' | '2' | '3' | '4' | '5'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
74
- * @param {number} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
69
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
71
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
72
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, language&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, language, isActive, translationStatus, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
75
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
75
76
  * @param {*} [options] Override http request option.
76
77
  * @throws {RequiredError}
77
78
  */
78
- listProductLanguages: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt', search?: any, order?: '0' | '1' | '2' | '3' | '4' | '5', expand?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ listProductLanguages: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
80
  /**
80
- * 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.
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\"
81
82
  * @summary List translations
82
83
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
83
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
84
- * @param {any} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
85
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
86
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
87
- * @param {'0' | '1' | '2'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
88
- * @param {number} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
84
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
86
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
87
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: key&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, key&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
90
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
89
91
  * @param {*} [options] Override http request option.
90
92
  * @throws {RequiredError}
91
93
  */
92
- listTranslations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'key', search?: any, order?: '0' | '1' | '2', expand?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
94
+ listTranslations: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
93
95
  /**
94
- * This updates the product language with the specified id.
96
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
95
97
  * @summary Update the product language
96
98
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
97
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -100,7 +102,7 @@ export declare const TranslationApiAxiosParamCreator: (configuration?: Configura
100
102
  */
101
103
  updateProductLanguage: (updateProductLanguageRequestDto: UpdateProductLanguageRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
102
104
  /**
103
- * This uploads the translations for a given product.
105
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
104
106
  * @summary Create the product translations
105
107
  * @param {string} productSlug
106
108
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -117,7 +119,7 @@ export declare const TranslationApiAxiosParamCreator: (configuration?: Configura
117
119
  */
118
120
  export declare const TranslationApiFp: (configuration?: Configuration) => {
119
121
  /**
120
- * This creates a product language.
122
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
121
123
  * @summary Create the product language
122
124
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
123
125
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -126,7 +128,7 @@ export declare const TranslationApiFp: (configuration?: Configuration) => {
126
128
  */
127
129
  createProductLanguage(createProductLanguageRequestDto: CreateProductLanguageRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductLanguageResponseClass>>;
128
130
  /**
129
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
131
+ * 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\"
130
132
  * @summary Delete the product language
131
133
  * @param {number} id Id of the product language.
132
134
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -135,7 +137,7 @@ export declare const TranslationApiFp: (configuration?: Configuration) => {
135
137
  */
136
138
  deleteProductLanguage(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
137
139
  /**
138
- * This downloads the list of translatable fields for a given product.
140
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
139
141
  * @summary Retrieve the product translations
140
142
  * @param {string} productSlug
141
143
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -145,7 +147,7 @@ export declare const TranslationApiFp: (configuration?: Configuration) => {
145
147
  */
146
148
  downloadProductTranslations(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<any>>;
147
149
  /**
148
- * This gets a product language.
150
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
149
151
  * @summary Retrieve the product language
150
152
  * @param {number} id Id of the product language.
151
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -154,35 +156,37 @@ export declare const TranslationApiFp: (configuration?: Configuration) => {
154
156
  */
155
157
  getProductLanguage(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductLanguageResponseClass>>;
156
158
  /**
157
- * This lists the product languages.
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\"
158
160
  * @summary List product languages
159
161
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
160
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
161
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
162
- * @param {'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
163
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
164
- * @param {'0' | '1' | '2' | '3' | '4' | '5'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
165
- * @param {number} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
162
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
164
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
165
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, language&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, language, isActive, translationStatus, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
168
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
166
169
  * @param {*} [options] Override http request option.
167
170
  * @throws {RequiredError}
168
171
  */
169
- listProductLanguages(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt', search?: any, order?: '0' | '1' | '2' | '3' | '4' | '5', expand?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductLanguagesResponseClass>>;
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>>;
170
173
  /**
171
- * 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.
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\"
172
175
  * @summary List translations
173
176
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
174
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
175
- * @param {any} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
176
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
177
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
178
- * @param {'0' | '1' | '2'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
179
- * @param {number} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
177
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
179
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
180
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: key&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, key&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
183
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
180
184
  * @param {*} [options] Override http request option.
181
185
  * @throws {RequiredError}
182
186
  */
183
- listTranslations(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'key', search?: any, order?: '0' | '1' | '2', expand?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTranslationsResponseClass>>;
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>>;
184
188
  /**
185
- * This updates the product language with the specified id.
189
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
186
190
  * @summary Update the product language
187
191
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
188
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -191,7 +195,7 @@ export declare const TranslationApiFp: (configuration?: Configuration) => {
191
195
  */
192
196
  updateProductLanguage(updateProductLanguageRequestDto: UpdateProductLanguageRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductLanguageResponseClass>>;
193
197
  /**
194
- * This uploads the translations for a given product.
198
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
195
199
  * @summary Create the product translations
196
200
  * @param {string} productSlug
197
201
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -208,7 +212,7 @@ export declare const TranslationApiFp: (configuration?: Configuration) => {
208
212
  */
209
213
  export declare const TranslationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
210
214
  /**
211
- * This creates a product language.
215
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
212
216
  * @summary Create the product language
213
217
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
214
218
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -217,7 +221,7 @@ export declare const TranslationApiFactory: (configuration?: Configuration, base
217
221
  */
218
222
  createProductLanguage(createProductLanguageRequestDto: CreateProductLanguageRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductLanguageResponseClass>;
219
223
  /**
220
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
224
+ * 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\"
221
225
  * @summary Delete the product language
222
226
  * @param {number} id Id of the product language.
223
227
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -226,7 +230,7 @@ export declare const TranslationApiFactory: (configuration?: Configuration, base
226
230
  */
227
231
  deleteProductLanguage(id: number, authorization?: string, options?: any): AxiosPromise<void>;
228
232
  /**
229
- * This downloads the list of translatable fields for a given product.
233
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
230
234
  * @summary Retrieve the product translations
231
235
  * @param {string} productSlug
232
236
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -236,7 +240,7 @@ export declare const TranslationApiFactory: (configuration?: Configuration, base
236
240
  */
237
241
  downloadProductTranslations(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<any>;
238
242
  /**
239
- * This gets a product language.
243
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
240
244
  * @summary Retrieve the product language
241
245
  * @param {number} id Id of the product language.
242
246
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -245,35 +249,37 @@ export declare const TranslationApiFactory: (configuration?: Configuration, base
245
249
  */
246
250
  getProductLanguage(id: number, authorization?: string, options?: any): AxiosPromise<GetProductLanguageResponseClass>;
247
251
  /**
248
- * This lists the product languages.
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\"
249
253
  * @summary List product languages
250
254
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
251
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
252
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
253
- * @param {'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
254
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
255
- * @param {'0' | '1' | '2' | '3' | '4' | '5'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
256
- * @param {number} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
255
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
257
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
258
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, language&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, language, isActive, translationStatus, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
261
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
257
262
  * @param {*} [options] Override http request option.
258
263
  * @throws {RequiredError}
259
264
  */
260
- listProductLanguages(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt', search?: any, order?: '0' | '1' | '2' | '3' | '4' | '5', expand?: number, options?: any): AxiosPromise<ListProductLanguagesResponseClass>;
265
+ listProductLanguages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductLanguagesResponseClass>;
261
266
  /**
262
- * 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.
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\"
263
268
  * @summary List translations
264
269
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
265
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
266
- * @param {any} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
267
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
268
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
269
- * @param {'0' | '1' | '2'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
270
- * @param {number} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
270
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
272
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
273
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: key&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, key&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
276
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
271
277
  * @param {*} [options] Override http request option.
272
278
  * @throws {RequiredError}
273
279
  */
274
- listTranslations(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'key', search?: any, order?: '0' | '1' | '2', expand?: number, options?: any): AxiosPromise<ListTranslationsResponseClass>;
280
+ listTranslations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTranslationsResponseClass>;
275
281
  /**
276
- * This updates the product language with the specified id.
282
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
277
283
  * @summary Update the product language
278
284
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
279
285
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -282,7 +288,7 @@ export declare const TranslationApiFactory: (configuration?: Configuration, base
282
288
  */
283
289
  updateProductLanguage(updateProductLanguageRequestDto: UpdateProductLanguageRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductLanguageResponseClass>;
284
290
  /**
285
- * This uploads the translations for a given product.
291
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
286
292
  * @summary Create the product translations
287
293
  * @param {string} productSlug
288
294
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -388,41 +394,47 @@ export interface TranslationApiListProductLanguagesRequest {
388
394
  */
389
395
  readonly authorization?: string;
390
396
  /**
391
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
397
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
392
398
  * @type {number}
393
399
  * @memberof TranslationApiListProductLanguages
394
400
  */
395
401
  readonly pageSize?: number;
396
402
  /**
397
- * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
403
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
398
404
  * @type {string}
399
405
  * @memberof TranslationApiListProductLanguages
400
406
  */
401
407
  readonly pageToken?: string;
402
408
  /**
403
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
404
- * @type {'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt'}
409
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
410
+ * @type {string}
405
411
  * @memberof TranslationApiListProductLanguages
406
412
  */
407
- readonly filter?: 'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt';
413
+ readonly filter?: string;
408
414
  /**
409
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
410
- * @type {any}
415
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, language&lt;/i&gt;
416
+ * @type {string}
411
417
  * @memberof TranslationApiListProductLanguages
412
418
  */
413
- readonly search?: any;
419
+ readonly search?: string;
414
420
  /**
415
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
416
- * @type {'0' | '1' | '2' | '3' | '4' | '5'}
421
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, language, isActive, translationStatus, createdAt, updatedAt&lt;/i&gt;
422
+ * @type {string}
417
423
  * @memberof TranslationApiListProductLanguages
418
424
  */
419
- readonly order?: '0' | '1' | '2' | '3' | '4' | '5';
425
+ readonly order?: string;
420
426
  /**
421
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
422
- * @type {number}
427
+ * 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.&lt;br/&gt; &lt;br/&gt;
428
+ * @type {string}
423
429
  * @memberof TranslationApiListProductLanguages
424
430
  */
425
- readonly expand?: number;
431
+ readonly expand?: string;
432
+ /**
433
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productSlug, language, isActive, translationStatus, createdAt, updateAt&lt;/i&gt;
434
+ * @type {string}
435
+ * @memberof TranslationApiListProductLanguages
436
+ */
437
+ readonly filters?: string;
426
438
  }
427
439
  /**
428
440
  * Request parameters for listTranslations operation in TranslationApi.
@@ -437,41 +449,47 @@ export interface TranslationApiListTranslationsRequest {
437
449
  */
438
450
  readonly authorization?: string;
439
451
  /**
440
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
441
- * @type {any}
452
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
453
+ * @type {number}
454
+ * @memberof TranslationApiListTranslations
455
+ */
456
+ readonly pageSize?: number;
457
+ /**
458
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
459
+ * @type {string}
442
460
  * @memberof TranslationApiListTranslations
443
461
  */
444
- readonly pageSize?: any;
462
+ readonly pageToken?: string;
445
463
  /**
446
- * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
447
- * @type {any}
464
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
465
+ * @type {string}
448
466
  * @memberof TranslationApiListTranslations
449
467
  */
450
- readonly pageToken?: any;
468
+ readonly filter?: string;
451
469
  /**
452
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
453
- * @type {'key'}
470
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: key&lt;/i&gt;
471
+ * @type {string}
454
472
  * @memberof TranslationApiListTranslations
455
473
  */
456
- readonly filter?: 'key';
474
+ readonly search?: string;
457
475
  /**
458
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
459
- * @type {any}
476
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, key&lt;/i&gt;
477
+ * @type {string}
460
478
  * @memberof TranslationApiListTranslations
461
479
  */
462
- readonly search?: any;
480
+ readonly order?: string;
463
481
  /**
464
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
465
- * @type {'0' | '1' | '2'}
482
+ * 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.&lt;br/&gt; &lt;br/&gt;
483
+ * @type {string}
466
484
  * @memberof TranslationApiListTranslations
467
485
  */
468
- readonly order?: '0' | '1' | '2';
486
+ readonly expand?: string;
469
487
  /**
470
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
471
- * @type {number}
488
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: key&lt;/i&gt;
489
+ * @type {string}
472
490
  * @memberof TranslationApiListTranslations
473
491
  */
474
- readonly expand?: number;
492
+ readonly filters?: string;
475
493
  }
476
494
  /**
477
495
  * Request parameters for updateProductLanguage operation in TranslationApi.
@@ -531,75 +549,75 @@ export interface TranslationApiUploadProductTranslationsRequest {
531
549
  */
532
550
  export declare class TranslationApi extends BaseAPI {
533
551
  /**
534
- * This creates a product language.
552
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
535
553
  * @summary Create the product language
536
554
  * @param {TranslationApiCreateProductLanguageRequest} requestParameters Request parameters.
537
555
  * @param {*} [options] Override http request option.
538
556
  * @throws {RequiredError}
539
557
  * @memberof TranslationApi
540
558
  */
541
- createProductLanguage(requestParameters: TranslationApiCreateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductLanguageResponseClass, any>>;
559
+ createProductLanguage(requestParameters: TranslationApiCreateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductLanguageResponseClass, any, {}>>;
542
560
  /**
543
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
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\"
544
562
  * @summary Delete the product language
545
563
  * @param {TranslationApiDeleteProductLanguageRequest} requestParameters Request parameters.
546
564
  * @param {*} [options] Override http request option.
547
565
  * @throws {RequiredError}
548
566
  * @memberof TranslationApi
549
567
  */
550
- deleteProductLanguage(requestParameters: TranslationApiDeleteProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
568
+ deleteProductLanguage(requestParameters: TranslationApiDeleteProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
551
569
  /**
552
- * This downloads the list of translatable fields for a given product.
570
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
553
571
  * @summary Retrieve the product translations
554
572
  * @param {TranslationApiDownloadProductTranslationsRequest} requestParameters Request parameters.
555
573
  * @param {*} [options] Override http request option.
556
574
  * @throws {RequiredError}
557
575
  * @memberof TranslationApi
558
576
  */
559
- downloadProductTranslations(requestParameters: TranslationApiDownloadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
577
+ downloadProductTranslations(requestParameters: TranslationApiDownloadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
560
578
  /**
561
- * This gets a product language.
579
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
562
580
  * @summary Retrieve the product language
563
581
  * @param {TranslationApiGetProductLanguageRequest} requestParameters Request parameters.
564
582
  * @param {*} [options] Override http request option.
565
583
  * @throws {RequiredError}
566
584
  * @memberof TranslationApi
567
585
  */
568
- getProductLanguage(requestParameters: TranslationApiGetProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductLanguageResponseClass, any>>;
586
+ getProductLanguage(requestParameters: TranslationApiGetProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductLanguageResponseClass, any, {}>>;
569
587
  /**
570
- * This lists the product languages.
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\"
571
589
  * @summary List product languages
572
590
  * @param {TranslationApiListProductLanguagesRequest} requestParameters Request parameters.
573
591
  * @param {*} [options] Override http request option.
574
592
  * @throws {RequiredError}
575
593
  * @memberof TranslationApi
576
594
  */
577
- listProductLanguages(requestParameters?: TranslationApiListProductLanguagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductLanguagesResponseClass, any>>;
595
+ listProductLanguages(requestParameters?: TranslationApiListProductLanguagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductLanguagesResponseClass, any, {}>>;
578
596
  /**
579
- * 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.
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\"
580
598
  * @summary List translations
581
599
  * @param {TranslationApiListTranslationsRequest} requestParameters Request parameters.
582
600
  * @param {*} [options] Override http request option.
583
601
  * @throws {RequiredError}
584
602
  * @memberof TranslationApi
585
603
  */
586
- listTranslations(requestParameters?: TranslationApiListTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTranslationsResponseClass, any>>;
604
+ listTranslations(requestParameters?: TranslationApiListTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTranslationsResponseClass, any, {}>>;
587
605
  /**
588
- * This updates the product language with the specified id.
606
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
589
607
  * @summary Update the product language
590
608
  * @param {TranslationApiUpdateProductLanguageRequest} requestParameters Request parameters.
591
609
  * @param {*} [options] Override http request option.
592
610
  * @throws {RequiredError}
593
611
  * @memberof TranslationApi
594
612
  */
595
- updateProductLanguage(requestParameters: TranslationApiUpdateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductLanguageResponseClass, any>>;
613
+ updateProductLanguage(requestParameters: TranslationApiUpdateProductLanguageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductLanguageResponseClass, any, {}>>;
596
614
  /**
597
- * This uploads the translations for a given product.
615
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
598
616
  * @summary Create the product translations
599
617
  * @param {TranslationApiUploadProductTranslationsRequest} requestParameters Request parameters.
600
618
  * @param {*} [options] Override http request option.
601
619
  * @throws {RequiredError}
602
620
  * @memberof TranslationApi
603
621
  */
604
- uploadProductTranslations(requestParameters: TranslationApiUploadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadProductTranslationsResponseClass, any>>;
622
+ uploadProductTranslations(requestParameters: TranslationApiUploadProductTranslationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadProductTranslationsResponseClass, any, {}>>;
605
623
  }