@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.
@@ -47,7 +47,7 @@ const FormData = require('form-data');
47
47
  export const TranslationApiAxiosParamCreator = function (configuration?: Configuration) {
48
48
  return {
49
49
  /**
50
- * This creates a product language.
50
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
51
51
  * @summary Create the product language
52
52
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
53
53
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -94,7 +94,7 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
94
94
  };
95
95
  },
96
96
  /**
97
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
97
+ * 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\"
98
98
  * @summary Delete the product language
99
99
  * @param {number} id Id of the product language.
100
100
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -139,7 +139,7 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
139
139
  };
140
140
  },
141
141
  /**
142
- * This downloads the list of translatable fields for a given product.
142
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
143
143
  * @summary Retrieve the product translations
144
144
  * @param {string} productSlug
145
145
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -191,7 +191,7 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
191
191
  };
192
192
  },
193
193
  /**
194
- * This gets a product language.
194
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
195
195
  * @summary Retrieve the product language
196
196
  * @param {number} id Id of the product language.
197
197
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -236,19 +236,20 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
236
236
  };
237
237
  },
238
238
  /**
239
- * This lists the product languages.
239
+ * 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\"
240
240
  * @summary List product languages
241
241
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
242
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
243
- * @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.
244
- * @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.
245
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
246
- * @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.
247
- * @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.
242
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
243
+ * @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.
244
+ * @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>
245
+ * @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>
246
+ * @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>
247
+ * @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/>
248
+ * @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>
248
249
  * @param {*} [options] Override http request option.
249
250
  * @throws {RequiredError}
250
251
  */
251
- listProductLanguages: async (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> => {
252
+ listProductLanguages: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
252
253
  const localVarPath = `/translationservice/v1/languages`;
253
254
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
254
255
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -291,6 +292,10 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
291
292
  localVarQueryParameter['expand'] = expand;
292
293
  }
293
294
 
295
+ if (filters !== undefined) {
296
+ localVarQueryParameter['filters'] = filters;
297
+ }
298
+
294
299
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
300
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
301
  }
@@ -307,19 +312,20 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
307
312
  };
308
313
  },
309
314
  /**
310
- * 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.
315
+ * 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\"
311
316
  * @summary List translations
312
317
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
313
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
314
- * @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.
315
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
316
- * @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.
317
- * @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.
318
- * @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.
318
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
319
+ * @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.
320
+ * @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;
321
+ * @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;
322
+ * @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;
323
+ * @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;
324
+ * @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;
319
325
  * @param {*} [options] Override http request option.
320
326
  * @throws {RequiredError}
321
327
  */
322
- listTranslations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'key', search?: any, order?: '0' | '1' | '2', expand?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
328
+ listTranslations: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
323
329
  const localVarPath = `/translationservice/v1/translations`;
324
330
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
325
331
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -362,6 +368,10 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
362
368
  localVarQueryParameter['expand'] = expand;
363
369
  }
364
370
 
371
+ if (filters !== undefined) {
372
+ localVarQueryParameter['filters'] = filters;
373
+ }
374
+
365
375
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
366
376
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
367
377
  }
@@ -378,7 +388,7 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
378
388
  };
379
389
  },
380
390
  /**
381
- * This updates the product language with the specified id.
391
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
382
392
  * @summary Update the product language
383
393
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
384
394
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -425,7 +435,7 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
425
435
  };
426
436
  },
427
437
  /**
428
- * This uploads the translations for a given product.
438
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
429
439
  * @summary Create the product translations
430
440
  * @param {string} productSlug
431
441
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -474,6 +484,7 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
474
484
 
475
485
 
476
486
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
487
+
477
488
 
478
489
  setSearchParams(localVarUrlObj, localVarQueryParameter);
479
490
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -496,7 +507,7 @@ export const TranslationApiFp = function(configuration?: Configuration) {
496
507
  const localVarAxiosParamCreator = TranslationApiAxiosParamCreator(configuration)
497
508
  return {
498
509
  /**
499
- * This creates a product language.
510
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
500
511
  * @summary Create the product language
501
512
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
502
513
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -508,7 +519,7 @@ export const TranslationApiFp = function(configuration?: Configuration) {
508
519
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
509
520
  },
510
521
  /**
511
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
522
+ * 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\"
512
523
  * @summary Delete the product language
513
524
  * @param {number} id Id of the product language.
514
525
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -520,7 +531,7 @@ export const TranslationApiFp = function(configuration?: Configuration) {
520
531
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
521
532
  },
522
533
  /**
523
- * This downloads the list of translatable fields for a given product.
534
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
524
535
  * @summary Retrieve the product translations
525
536
  * @param {string} productSlug
526
537
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -533,7 +544,7 @@ export const TranslationApiFp = function(configuration?: Configuration) {
533
544
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
534
545
  },
535
546
  /**
536
- * This gets a product language.
547
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
537
548
  * @summary Retrieve the product language
538
549
  * @param {number} id Id of the product language.
539
550
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -545,41 +556,43 @@ export const TranslationApiFp = function(configuration?: Configuration) {
545
556
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
546
557
  },
547
558
  /**
548
- * This lists the product languages.
559
+ * 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\"
549
560
  * @summary List product languages
550
561
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
551
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
552
- * @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.
553
- * @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.
554
- * @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.
555
- * @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.
556
- * @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.
562
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
563
+ * @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.
564
+ * @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;
565
+ * @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;
566
+ * @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;
567
+ * @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;
568
+ * @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;
557
569
  * @param {*} [options] Override http request option.
558
570
  * @throws {RequiredError}
559
571
  */
560
- async 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>> {
561
- const localVarAxiosArgs = await localVarAxiosParamCreator.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, options);
572
+ async 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>> {
573
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
562
574
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
563
575
  },
564
576
  /**
565
- * 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.
577
+ * 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\"
566
578
  * @summary List translations
567
579
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
568
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
569
- * @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.
570
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
571
- * @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.
572
- * @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.
573
- * @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.
580
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
581
+ * @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.
582
+ * @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;
583
+ * @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;
584
+ * @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;
585
+ * @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;
586
+ * @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;
574
587
  * @param {*} [options] Override http request option.
575
588
  * @throws {RequiredError}
576
589
  */
577
- async 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>> {
578
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, options);
590
+ async 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>> {
591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
579
592
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
580
593
  },
581
594
  /**
582
- * This updates the product language with the specified id.
595
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
583
596
  * @summary Update the product language
584
597
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
585
598
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -591,7 +604,7 @@ export const TranslationApiFp = function(configuration?: Configuration) {
591
604
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
592
605
  },
593
606
  /**
594
- * This uploads the translations for a given product.
607
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
595
608
  * @summary Create the product translations
596
609
  * @param {string} productSlug
597
610
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -615,7 +628,7 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
615
628
  const localVarFp = TranslationApiFp(configuration)
616
629
  return {
617
630
  /**
618
- * This creates a product language.
631
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
619
632
  * @summary Create the product language
620
633
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
621
634
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -626,7 +639,7 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
626
639
  return localVarFp.createProductLanguage(createProductLanguageRequestDto, authorization, options).then((request) => request(axios, basePath));
627
640
  },
628
641
  /**
629
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
642
+ * 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\"
630
643
  * @summary Delete the product language
631
644
  * @param {number} id Id of the product language.
632
645
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -637,7 +650,7 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
637
650
  return localVarFp.deleteProductLanguage(id, authorization, options).then((request) => request(axios, basePath));
638
651
  },
639
652
  /**
640
- * This downloads the list of translatable fields for a given product.
653
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
641
654
  * @summary Retrieve the product translations
642
655
  * @param {string} productSlug
643
656
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -649,7 +662,7 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
649
662
  return localVarFp.downloadProductTranslations(productSlug, language, authorization, options).then((request) => request(axios, basePath));
650
663
  },
651
664
  /**
652
- * This gets a product language.
665
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
653
666
  * @summary Retrieve the product language
654
667
  * @param {number} id Id of the product language.
655
668
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -660,39 +673,41 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
660
673
  return localVarFp.getProductLanguage(id, authorization, options).then((request) => request(axios, basePath));
661
674
  },
662
675
  /**
663
- * This lists the product languages.
676
+ * 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\"
664
677
  * @summary List product languages
665
678
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
666
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
667
- * @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.
668
- * @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.
669
- * @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.
670
- * @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.
671
- * @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.
679
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
680
+ * @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.
681
+ * @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;
682
+ * @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;
683
+ * @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;
684
+ * @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;
685
+ * @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;
672
686
  * @param {*} [options] Override http request option.
673
687
  * @throws {RequiredError}
674
688
  */
675
- 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> {
676
- return localVarFp.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
689
+ listProductLanguages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductLanguagesResponseClass> {
690
+ return localVarFp.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
677
691
  },
678
692
  /**
679
- * 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.
693
+ * 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\"
680
694
  * @summary List translations
681
695
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
682
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
683
- * @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.
684
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
685
- * @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.
686
- * @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.
687
- * @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.
696
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
697
+ * @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.
698
+ * @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;
699
+ * @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;
700
+ * @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;
701
+ * @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;
702
+ * @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;
688
703
  * @param {*} [options] Override http request option.
689
704
  * @throws {RequiredError}
690
705
  */
691
- listTranslations(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'key', search?: any, order?: '0' | '1' | '2', expand?: number, options?: any): AxiosPromise<ListTranslationsResponseClass> {
692
- return localVarFp.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
706
+ listTranslations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTranslationsResponseClass> {
707
+ return localVarFp.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
693
708
  },
694
709
  /**
695
- * This updates the product language with the specified id.
710
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
696
711
  * @summary Update the product language
697
712
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
698
713
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -703,7 +718,7 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
703
718
  return localVarFp.updateProductLanguage(updateProductLanguageRequestDto, authorization, options).then((request) => request(axios, basePath));
704
719
  },
705
720
  /**
706
- * This uploads the translations for a given product.
721
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
707
722
  * @summary Create the product translations
708
723
  * @param {string} productSlug
709
724
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -823,46 +838,53 @@ export interface TranslationApiListProductLanguagesRequest {
823
838
  readonly authorization?: string
824
839
 
825
840
  /**
826
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
841
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
827
842
  * @type {number}
828
843
  * @memberof TranslationApiListProductLanguages
829
844
  */
830
845
  readonly pageSize?: number
831
846
 
832
847
  /**
833
- * 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.
848
+ * 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.
834
849
  * @type {string}
835
850
  * @memberof TranslationApiListProductLanguages
836
851
  */
837
852
  readonly pageToken?: string
838
853
 
839
854
  /**
840
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
841
- * @type {'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt'}
855
+ * 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;
856
+ * @type {string}
842
857
  * @memberof TranslationApiListProductLanguages
843
858
  */
844
- readonly filter?: 'id' | 'productSlug' | 'language' | 'isActive' | 'translationStatus' | 'createdAt' | 'updateAt'
859
+ readonly filter?: string
845
860
 
846
861
  /**
847
- * 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.
848
- * @type {any}
862
+ * 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;
863
+ * @type {string}
864
+ * @memberof TranslationApiListProductLanguages
865
+ */
866
+ readonly search?: string
867
+
868
+ /**
869
+ * 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;
870
+ * @type {string}
849
871
  * @memberof TranslationApiListProductLanguages
850
872
  */
851
- readonly search?: any
873
+ readonly order?: string
852
874
 
853
875
  /**
854
- * 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.
855
- * @type {'0' | '1' | '2' | '3' | '4' | '5'}
876
+ * 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;
877
+ * @type {string}
856
878
  * @memberof TranslationApiListProductLanguages
857
879
  */
858
- readonly order?: '0' | '1' | '2' | '3' | '4' | '5'
880
+ readonly expand?: string
859
881
 
860
882
  /**
861
- * 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.
862
- * @type {number}
883
+ * 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;
884
+ * @type {string}
863
885
  * @memberof TranslationApiListProductLanguages
864
886
  */
865
- readonly expand?: number
887
+ readonly filters?: string
866
888
  }
867
889
 
868
890
  /**
@@ -879,46 +901,53 @@ export interface TranslationApiListTranslationsRequest {
879
901
  readonly authorization?: string
880
902
 
881
903
  /**
882
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
883
- * @type {any}
904
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
905
+ * @type {number}
884
906
  * @memberof TranslationApiListTranslations
885
907
  */
886
- readonly pageSize?: any
908
+ readonly pageSize?: number
887
909
 
888
910
  /**
889
- * 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.
890
- * @type {any}
911
+ * 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.
912
+ * @type {string}
891
913
  * @memberof TranslationApiListTranslations
892
914
  */
893
- readonly pageToken?: any
915
+ readonly pageToken?: string
894
916
 
895
917
  /**
896
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
897
- * @type {'key'}
918
+ * 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;
919
+ * @type {string}
898
920
  * @memberof TranslationApiListTranslations
899
921
  */
900
- readonly filter?: 'key'
922
+ readonly filter?: string
901
923
 
902
924
  /**
903
- * 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.
904
- * @type {any}
925
+ * 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;
926
+ * @type {string}
905
927
  * @memberof TranslationApiListTranslations
906
928
  */
907
- readonly search?: any
929
+ readonly search?: string
908
930
 
909
931
  /**
910
- * 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.
911
- * @type {'0' | '1' | '2'}
932
+ * 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;
933
+ * @type {string}
912
934
  * @memberof TranslationApiListTranslations
913
935
  */
914
- readonly order?: '0' | '1' | '2'
936
+ readonly order?: string
915
937
 
916
938
  /**
917
- * 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.
918
- * @type {number}
939
+ * 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;
940
+ * @type {string}
941
+ * @memberof TranslationApiListTranslations
942
+ */
943
+ readonly expand?: string
944
+
945
+ /**
946
+ * 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;
947
+ * @type {string}
919
948
  * @memberof TranslationApiListTranslations
920
949
  */
921
- readonly expand?: number
950
+ readonly filters?: string
922
951
  }
923
952
 
924
953
  /**
@@ -985,7 +1014,7 @@ export interface TranslationApiUploadProductTranslationsRequest {
985
1014
  */
986
1015
  export class TranslationApi extends BaseAPI {
987
1016
  /**
988
- * This creates a product language.
1017
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
989
1018
  * @summary Create the product language
990
1019
  * @param {TranslationApiCreateProductLanguageRequest} requestParameters Request parameters.
991
1020
  * @param {*} [options] Override http request option.
@@ -997,7 +1026,7 @@ export class TranslationApi extends BaseAPI {
997
1026
  }
998
1027
 
999
1028
  /**
1000
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
1029
+ * 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\"
1001
1030
  * @summary Delete the product language
1002
1031
  * @param {TranslationApiDeleteProductLanguageRequest} requestParameters Request parameters.
1003
1032
  * @param {*} [options] Override http request option.
@@ -1009,7 +1038,7 @@ export class TranslationApi extends BaseAPI {
1009
1038
  }
1010
1039
 
1011
1040
  /**
1012
- * This downloads the list of translatable fields for a given product.
1041
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
1013
1042
  * @summary Retrieve the product translations
1014
1043
  * @param {TranslationApiDownloadProductTranslationsRequest} requestParameters Request parameters.
1015
1044
  * @param {*} [options] Override http request option.
@@ -1021,7 +1050,7 @@ export class TranslationApi extends BaseAPI {
1021
1050
  }
1022
1051
 
1023
1052
  /**
1024
- * This gets a product language.
1053
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
1025
1054
  * @summary Retrieve the product language
1026
1055
  * @param {TranslationApiGetProductLanguageRequest} requestParameters Request parameters.
1027
1056
  * @param {*} [options] Override http request option.
@@ -1033,7 +1062,7 @@ export class TranslationApi extends BaseAPI {
1033
1062
  }
1034
1063
 
1035
1064
  /**
1036
- * This lists the product languages.
1065
+ * 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\"
1037
1066
  * @summary List product languages
1038
1067
  * @param {TranslationApiListProductLanguagesRequest} requestParameters Request parameters.
1039
1068
  * @param {*} [options] Override http request option.
@@ -1041,11 +1070,11 @@ export class TranslationApi extends BaseAPI {
1041
1070
  * @memberof TranslationApi
1042
1071
  */
1043
1072
  public listProductLanguages(requestParameters: TranslationApiListProductLanguagesRequest = {}, options?: AxiosRequestConfig) {
1044
- return TranslationApiFp(this.configuration).listProductLanguages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1073
+ return TranslationApiFp(this.configuration).listProductLanguages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1045
1074
  }
1046
1075
 
1047
1076
  /**
1048
- * 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.
1077
+ * 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\"
1049
1078
  * @summary List translations
1050
1079
  * @param {TranslationApiListTranslationsRequest} requestParameters Request parameters.
1051
1080
  * @param {*} [options] Override http request option.
@@ -1053,11 +1082,11 @@ export class TranslationApi extends BaseAPI {
1053
1082
  * @memberof TranslationApi
1054
1083
  */
1055
1084
  public listTranslations(requestParameters: TranslationApiListTranslationsRequest = {}, options?: AxiosRequestConfig) {
1056
- return TranslationApiFp(this.configuration).listTranslations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1085
+ return TranslationApiFp(this.configuration).listTranslations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1057
1086
  }
1058
1087
 
1059
1088
  /**
1060
- * This updates the product language with the specified id.
1089
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
1061
1090
  * @summary Update the product language
1062
1091
  * @param {TranslationApiUpdateProductLanguageRequest} requestParameters Request parameters.
1063
1092
  * @param {*} [options] Override http request option.
@@ -1069,7 +1098,7 @@ export class TranslationApi extends BaseAPI {
1069
1098
  }
1070
1099
 
1071
1100
  /**
1072
- * This uploads the translations for a given product.
1101
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
1073
1102
  * @summary Create the product translations
1074
1103
  * @param {TranslationApiUploadProductTranslationsRequest} requestParameters Request parameters.
1075
1104
  * @param {*} [options] Override http request option.