@emilgroup/translation-sdk 1.10.1-beta.9 → 1.13.1-beta.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/.openapi-generator/FILES +1 -6
  2. package/README.md +2 -2
  3. package/api/{health-api.ts → default-api.ts} +13 -13
  4. package/api/translation-api.ts +24 -261
  5. package/api.ts +2 -2
  6. package/base.ts +0 -5
  7. package/dist/api/{health-api.d.ts → default-api.d.ts} +11 -11
  8. package/dist/api/{health-api.js → default-api.js} +22 -22
  9. package/dist/api/translation-api.d.ts +32 -162
  10. package/dist/api/translation-api.js +20 -219
  11. package/dist/api.d.ts +1 -1
  12. package/dist/api.js +1 -1
  13. package/dist/base.d.ts +1 -2
  14. package/dist/base.js +1 -4
  15. package/dist/common.d.ts +1 -1
  16. package/dist/models/index.d.ts +0 -5
  17. package/dist/models/index.js +0 -5
  18. package/dist/models/upload-product-translations-response-class.d.ts +0 -13
  19. package/models/index.ts +0 -5
  20. package/models/upload-product-translations-response-class.ts +0 -13
  21. package/package.json +2 -3
  22. package/dist/models/get-product-translations-response-class.d.ts +0 -25
  23. package/dist/models/get-product-translations-response-class.js +0 -15
  24. package/dist/models/new-translation-class.d.ts +0 -36
  25. package/dist/models/new-translation-class.js +0 -15
  26. package/dist/models/save-product-translations-request-dto.d.ts +0 -53
  27. package/dist/models/save-product-translations-request-dto.js +0 -37
  28. package/dist/models/skipped-translation-class.d.ts +0 -36
  29. package/dist/models/skipped-translation-class.js +0 -15
  30. package/dist/models/translatable-field-class.d.ts +0 -54
  31. package/dist/models/translatable-field-class.js +0 -15
  32. package/models/get-product-translations-response-class.ts +0 -31
  33. package/models/new-translation-class.ts +0 -42
  34. package/models/save-product-translations-request-dto.ts +0 -62
  35. package/models/skipped-translation-class.ts +0 -42
  36. package/models/translatable-field-class.ts +0 -60
@@ -3,7 +3,7 @@
3
3
  .openapi-generator-ignore
4
4
  README.md
5
5
  api.ts
6
- api/health-api.ts
6
+ api/default-api.ts
7
7
  api/translation-api.ts
8
8
  base.ts
9
9
  common.ts
@@ -13,17 +13,12 @@ index.ts
13
13
  models/create-product-language-request-dto.ts
14
14
  models/create-product-language-response-class.ts
15
15
  models/get-product-language-response-class.ts
16
- models/get-product-translations-response-class.ts
17
16
  models/index.ts
18
17
  models/inline-response200.ts
19
18
  models/inline-response503.ts
20
19
  models/list-product-languages-response-class.ts
21
20
  models/list-translations-response-class.ts
22
- models/new-translation-class.ts
23
21
  models/product-language-class.ts
24
- models/save-product-translations-request-dto.ts
25
- models/skipped-translation-class.ts
26
- models/translatable-field-class.ts
27
22
  models/translation-class.ts
28
23
  models/update-product-language-request-dto.ts
29
24
  models/update-product-language-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/translation-sdk@1.10.1-beta.9 --save
20
+ npm install @emilgroup/translation-sdk@1.13.1-beta.106 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/translation-sdk@1.10.1-beta.9
24
+ yarn add @emilgroup/translation-sdk@1.13.1-beta.106
25
25
  ```
26
26
 
27
27
  And then you can import `TranslationApi`.
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
25
25
  // @ts-ignore
26
26
  import { InlineResponse503 } from '../models';
27
27
  /**
28
- * HealthApi - axios parameter creator
28
+ * DefaultApi - axios parameter creator
29
29
  * @export
30
30
  */
31
- export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
34
  * Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -66,11 +66,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
66
66
  };
67
67
 
68
68
  /**
69
- * HealthApi - functional programming interface
69
+ * DefaultApi - functional programming interface
70
70
  * @export
71
71
  */
72
- export const HealthApiFp = function(configuration?: Configuration) {
73
- const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
72
+ export const DefaultApiFp = function(configuration?: Configuration) {
73
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
74
74
  return {
75
75
  /**
76
76
  * Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -86,11 +86,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
86
86
  };
87
87
 
88
88
  /**
89
- * HealthApi - factory interface
89
+ * DefaultApi - factory interface
90
90
  * @export
91
91
  */
92
- export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
- const localVarFp = HealthApiFp(configuration)
92
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
+ const localVarFp = DefaultApiFp(configuration)
94
94
  return {
95
95
  /**
96
96
  * Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -105,20 +105,20 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
105
105
  };
106
106
 
107
107
  /**
108
- * HealthApi - object-oriented interface
108
+ * DefaultApi - object-oriented interface
109
109
  * @export
110
- * @class HealthApi
110
+ * @class DefaultApi
111
111
  * @extends {BaseAPI}
112
112
  */
113
- export class HealthApi extends BaseAPI {
113
+ export class DefaultApi extends BaseAPI {
114
114
  /**
115
115
  * Returns the health status of the translation service. This endpoint is used to monitor the operational status of the translation service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
116
116
  * @summary Health Check
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
119
- * @memberof HealthApi
119
+ * @memberof DefaultApi
120
120
  */
121
121
  public check(options?: AxiosRequestConfig) {
122
- return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
122
+ return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
123
  }
124
124
  }
@@ -27,14 +27,10 @@ import { CreateProductLanguageResponseClass } from '../models';
27
27
  // @ts-ignore
28
28
  import { GetProductLanguageResponseClass } from '../models';
29
29
  // @ts-ignore
30
- import { GetProductTranslationsResponseClass } from '../models';
31
- // @ts-ignore
32
30
  import { ListProductLanguagesResponseClass } from '../models';
33
31
  // @ts-ignore
34
32
  import { ListTranslationsResponseClass } from '../models';
35
33
  // @ts-ignore
36
- import { SaveProductTranslationsRequestDto } from '../models';
37
- // @ts-ignore
38
34
  import { UpdateProductLanguageRequestDto } from '../models';
39
35
  // @ts-ignore
40
36
  import { UpdateProductLanguageResponseClass } from '../models';
@@ -236,68 +232,16 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
236
232
  };
237
233
  },
238
234
  /**
239
- * This returns a product\'s translatable fields together with their current translations as JSON. Same data as the XLSX download, for editing in the UI. **Required Permissions** \"translation-management.translations.view\"
240
- * @summary Retrieve the product translations
241
- * @param {string} productSlug
242
- * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
243
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
- * @param {*} [options] Override http request option.
245
- * @throws {RequiredError}
246
- */
247
- getProductTranslations: async (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> => {
248
- // verify required parameter 'productSlug' is not null or undefined
249
- assertParamExists('getProductTranslations', 'productSlug', productSlug)
250
- // verify required parameter 'language' is not null or undefined
251
- assertParamExists('getProductTranslations', 'language', language)
252
- const localVarPath = `/translationservice/v1/product/{productSlug}/translations`
253
- .replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
254
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
255
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
256
- let baseOptions;
257
- let baseAccessToken;
258
- if (configuration) {
259
- baseOptions = configuration.baseOptions;
260
- baseAccessToken = configuration.accessToken;
261
- }
262
-
263
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
264
- const localVarHeaderParameter = {} as any;
265
- const localVarQueryParameter = {} as any;
266
-
267
- // authentication bearer required
268
- // http bearer authentication required
269
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
270
-
271
- if (language !== undefined) {
272
- localVarQueryParameter['language'] = language;
273
- }
274
-
275
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
276
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
277
- }
278
-
279
-
280
-
281
- setSearchParams(localVarUrlObj, localVarQueryParameter);
282
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
283
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
284
-
285
- return {
286
- url: toPathString(localVarUrlObj),
287
- options: localVarRequestOptions,
288
- };
289
- },
290
- /**
291
- * 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\"
235
+ * 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\"
292
236
  * @summary List product languages
293
237
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
294
238
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
295
239
  * @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.
296
- * @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;
240
+ * @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;
297
241
  * @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;
298
242
  * @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;
299
243
  * @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;
300
- * @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;
244
+ * @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;
301
245
  * @param {*} [options] Override http request option.
302
246
  * @throws {RequiredError}
303
247
  */
@@ -364,16 +308,16 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
364
308
  };
365
309
  },
366
310
  /**
367
- * 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
+ * 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\"
368
312
  * @summary List translations
369
313
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
314
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
371
315
  * @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.
372
- * @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, language&lt;/i&gt;
316
+ * @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;
373
317
  * @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;
374
318
  * @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;
375
319
  * @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;
376
- * @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, language&lt;/i&gt;
320
+ * @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;
377
321
  * @param {*} [options] Override http request option.
378
322
  * @throws {RequiredError}
379
323
  */
@@ -439,57 +383,6 @@ export const TranslationApiAxiosParamCreator = function (configuration?: Configu
439
383
  options: localVarRequestOptions,
440
384
  };
441
385
  },
442
- /**
443
- * This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
444
- * @summary Create the product translations
445
- * @param {string} productSlug
446
- * @param {SaveProductTranslationsRequestDto} saveProductTranslationsRequestDto
447
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
448
- * @param {*} [options] Override http request option.
449
- * @throws {RequiredError}
450
- */
451
- saveProductTranslations: async (productSlug: string, saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
452
- // verify required parameter 'productSlug' is not null or undefined
453
- assertParamExists('saveProductTranslations', 'productSlug', productSlug)
454
- // verify required parameter 'saveProductTranslationsRequestDto' is not null or undefined
455
- assertParamExists('saveProductTranslations', 'saveProductTranslationsRequestDto', saveProductTranslationsRequestDto)
456
- const localVarPath = `/translationservice/v1/product/{productSlug}/translations`
457
- .replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
458
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
459
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
460
- let baseOptions;
461
- let baseAccessToken;
462
- if (configuration) {
463
- baseOptions = configuration.baseOptions;
464
- baseAccessToken = configuration.accessToken;
465
- }
466
-
467
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
468
- const localVarHeaderParameter = {} as any;
469
- const localVarQueryParameter = {} as any;
470
-
471
- // authentication bearer required
472
- // http bearer authentication required
473
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
474
-
475
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
476
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
477
- }
478
-
479
-
480
-
481
- localVarHeaderParameter['Content-Type'] = 'application/json';
482
-
483
- setSearchParams(localVarUrlObj, localVarQueryParameter);
484
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
485
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
486
- localVarRequestOptions.data = serializeDataIfNeeded(saveProductTranslationsRequestDto, localVarRequestOptions, configuration)
487
-
488
- return {
489
- url: toPathString(localVarUrlObj),
490
- options: localVarRequestOptions,
491
- };
492
- },
493
386
  /**
494
387
  * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
495
388
  * @summary Update the product language
@@ -658,29 +551,16 @@ export const TranslationApiFp = function(configuration?: Configuration) {
658
551
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
659
552
  },
660
553
  /**
661
- * This returns a product\'s translatable fields together with their current translations as JSON. Same data as the XLSX download, for editing in the UI. **Required Permissions** \"translation-management.translations.view\"
662
- * @summary Retrieve the product translations
663
- * @param {string} productSlug
664
- * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
665
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
666
- * @param {*} [options] Override http request option.
667
- * @throws {RequiredError}
668
- */
669
- async getProductTranslations(productSlug: string, language: 'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductTranslationsResponseClass>> {
670
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProductTranslations(productSlug, language, authorization, options);
671
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
672
- },
673
- /**
674
- * 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\"
554
+ * 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\"
675
555
  * @summary List product languages
676
556
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
677
557
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
678
558
  * @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.
679
- * @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;
559
+ * @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;
680
560
  * @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;
681
561
  * @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;
682
562
  * @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;
683
- * @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;
563
+ * @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;
684
564
  * @param {*} [options] Override http request option.
685
565
  * @throws {RequiredError}
686
566
  */
@@ -689,16 +569,16 @@ export const TranslationApiFp = function(configuration?: Configuration) {
689
569
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
690
570
  },
691
571
  /**
692
- * 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\"
572
+ * 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\"
693
573
  * @summary List translations
694
574
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
695
575
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
696
576
  * @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.
697
- * @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, language&lt;/i&gt;
577
+ * @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;
698
578
  * @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;
699
579
  * @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;
700
580
  * @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;
701
- * @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, language&lt;/i&gt;
581
+ * @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;
702
582
  * @param {*} [options] Override http request option.
703
583
  * @throws {RequiredError}
704
584
  */
@@ -706,19 +586,6 @@ export const TranslationApiFp = function(configuration?: Configuration) {
706
586
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
707
587
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
708
588
  },
709
- /**
710
- * This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
711
- * @summary Create the product translations
712
- * @param {string} productSlug
713
- * @param {SaveProductTranslationsRequestDto} saveProductTranslationsRequestDto
714
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
715
- * @param {*} [options] Override http request option.
716
- * @throws {RequiredError}
717
- */
718
- async saveProductTranslations(productSlug: string, saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadProductTranslationsResponseClass>> {
719
- const localVarAxiosArgs = await localVarAxiosParamCreator.saveProductTranslations(productSlug, saveProductTranslationsRequestDto, authorization, options);
720
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
721
- },
722
589
  /**
723
590
  * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
724
591
  * @summary Update the product language
@@ -801,28 +668,16 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
801
668
  return localVarFp.getProductLanguage(id, authorization, options).then((request) => request(axios, basePath));
802
669
  },
803
670
  /**
804
- * This returns a product\'s translatable fields together with their current translations as JSON. Same data as the XLSX download, for editing in the UI. **Required Permissions** \"translation-management.translations.view\"
805
- * @summary Retrieve the product translations
806
- * @param {string} productSlug
807
- * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
808
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
809
- * @param {*} [options] Override http request option.
810
- * @throws {RequiredError}
811
- */
812
- getProductTranslations(productSlug: string, language: 'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian', authorization?: string, options?: any): AxiosPromise<GetProductTranslationsResponseClass> {
813
- return localVarFp.getProductTranslations(productSlug, language, authorization, options).then((request) => request(axios, basePath));
814
- },
815
- /**
816
- * 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\"
671
+ * 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\"
817
672
  * @summary List product languages
818
673
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
819
674
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
820
675
  * @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.
821
- * @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;
676
+ * @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;
822
677
  * @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;
823
678
  * @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;
824
679
  * @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;
825
- * @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;
680
+ * @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;
826
681
  * @param {*} [options] Override http request option.
827
682
  * @throws {RequiredError}
828
683
  */
@@ -830,34 +685,22 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
830
685
  return localVarFp.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
831
686
  },
832
687
  /**
833
- * 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\"
688
+ * 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\"
834
689
  * @summary List translations
835
690
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
836
691
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
837
692
  * @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.
838
- * @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, language&lt;/i&gt;
693
+ * @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;
839
694
  * @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;
840
695
  * @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;
841
696
  * @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;
842
- * @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, language&lt;/i&gt;
697
+ * @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;
843
698
  * @param {*} [options] Override http request option.
844
699
  * @throws {RequiredError}
845
700
  */
846
701
  listTranslations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTranslationsResponseClass> {
847
702
  return localVarFp.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
848
703
  },
849
- /**
850
- * This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
851
- * @summary Create the product translations
852
- * @param {string} productSlug
853
- * @param {SaveProductTranslationsRequestDto} saveProductTranslationsRequestDto
854
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
855
- * @param {*} [options] Override http request option.
856
- * @throws {RequiredError}
857
- */
858
- saveProductTranslations(productSlug: string, saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto, authorization?: string, options?: any): AxiosPromise<UploadProductTranslationsResponseClass> {
859
- return localVarFp.saveProductTranslations(productSlug, saveProductTranslationsRequestDto, authorization, options).then((request) => request(axios, basePath));
860
- },
861
704
  /**
862
705
  * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
863
706
  * @summary Update the product language
@@ -976,34 +819,6 @@ export interface TranslationApiGetProductLanguageRequest {
976
819
  readonly authorization?: string
977
820
  }
978
821
 
979
- /**
980
- * Request parameters for getProductTranslations operation in TranslationApi.
981
- * @export
982
- * @interface TranslationApiGetProductTranslationsRequest
983
- */
984
- export interface TranslationApiGetProductTranslationsRequest {
985
- /**
986
- *
987
- * @type {string}
988
- * @memberof TranslationApiGetProductTranslations
989
- */
990
- readonly productSlug: string
991
-
992
- /**
993
- *
994
- * @type {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'}
995
- * @memberof TranslationApiGetProductTranslations
996
- */
997
- readonly language: 'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'
998
-
999
- /**
1000
- * Bearer Token: provided by the login endpoint under the name accessToken.
1001
- * @type {string}
1002
- * @memberof TranslationApiGetProductTranslations
1003
- */
1004
- readonly authorization?: string
1005
- }
1006
-
1007
822
  /**
1008
823
  * Request parameters for listProductLanguages operation in TranslationApi.
1009
824
  * @export
@@ -1032,7 +847,7 @@ export interface TranslationApiListProductLanguagesRequest {
1032
847
  readonly pageToken?: string
1033
848
 
1034
849
  /**
1035
- * 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;
850
+ * 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;
1036
851
  * @type {string}
1037
852
  * @memberof TranslationApiListProductLanguages
1038
853
  */
@@ -1060,7 +875,7 @@ export interface TranslationApiListProductLanguagesRequest {
1060
875
  readonly expand?: string
1061
876
 
1062
877
  /**
1063
- * 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;
878
+ * 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;
1064
879
  * @type {string}
1065
880
  * @memberof TranslationApiListProductLanguages
1066
881
  */
@@ -1095,7 +910,7 @@ export interface TranslationApiListTranslationsRequest {
1095
910
  readonly pageToken?: string
1096
911
 
1097
912
  /**
1098
- * 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, language&lt;/i&gt;
913
+ * 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;
1099
914
  * @type {string}
1100
915
  * @memberof TranslationApiListTranslations
1101
916
  */
@@ -1123,41 +938,13 @@ export interface TranslationApiListTranslationsRequest {
1123
938
  readonly expand?: string
1124
939
 
1125
940
  /**
1126
- * 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, language&lt;/i&gt;
941
+ * 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;
1127
942
  * @type {string}
1128
943
  * @memberof TranslationApiListTranslations
1129
944
  */
1130
945
  readonly filters?: string
1131
946
  }
1132
947
 
1133
- /**
1134
- * Request parameters for saveProductTranslations operation in TranslationApi.
1135
- * @export
1136
- * @interface TranslationApiSaveProductTranslationsRequest
1137
- */
1138
- export interface TranslationApiSaveProductTranslationsRequest {
1139
- /**
1140
- *
1141
- * @type {string}
1142
- * @memberof TranslationApiSaveProductTranslations
1143
- */
1144
- readonly productSlug: string
1145
-
1146
- /**
1147
- *
1148
- * @type {SaveProductTranslationsRequestDto}
1149
- * @memberof TranslationApiSaveProductTranslations
1150
- */
1151
- readonly saveProductTranslationsRequestDto: SaveProductTranslationsRequestDto
1152
-
1153
- /**
1154
- * Bearer Token: provided by the login endpoint under the name accessToken.
1155
- * @type {string}
1156
- * @memberof TranslationApiSaveProductTranslations
1157
- */
1158
- readonly authorization?: string
1159
- }
1160
-
1161
948
  /**
1162
949
  * Request parameters for updateProductLanguage operation in TranslationApi.
1163
950
  * @export
@@ -1270,19 +1057,7 @@ export class TranslationApi extends BaseAPI {
1270
1057
  }
1271
1058
 
1272
1059
  /**
1273
- * This returns a product\'s translatable fields together with their current translations as JSON. Same data as the XLSX download, for editing in the UI. **Required Permissions** \"translation-management.translations.view\"
1274
- * @summary Retrieve the product translations
1275
- * @param {TranslationApiGetProductTranslationsRequest} requestParameters Request parameters.
1276
- * @param {*} [options] Override http request option.
1277
- * @throws {RequiredError}
1278
- * @memberof TranslationApi
1279
- */
1280
- public getProductTranslations(requestParameters: TranslationApiGetProductTranslationsRequest, options?: AxiosRequestConfig) {
1281
- return TranslationApiFp(this.configuration).getProductTranslations(requestParameters.productSlug, requestParameters.language, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1282
- }
1283
-
1284
- /**
1285
- * 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\"
1060
+ * 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\"
1286
1061
  * @summary List product languages
1287
1062
  * @param {TranslationApiListProductLanguagesRequest} requestParameters Request parameters.
1288
1063
  * @param {*} [options] Override http request option.
@@ -1294,7 +1069,7 @@ export class TranslationApi extends BaseAPI {
1294
1069
  }
1295
1070
 
1296
1071
  /**
1297
- * 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\"
1072
+ * 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\"
1298
1073
  * @summary List translations
1299
1074
  * @param {TranslationApiListTranslationsRequest} requestParameters Request parameters.
1300
1075
  * @param {*} [options] Override http request option.
@@ -1305,18 +1080,6 @@ export class TranslationApi extends BaseAPI {
1305
1080
  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));
1306
1081
  }
1307
1082
 
1308
- /**
1309
- * This creates or updates translations for a product from JSON. Same store as the XLSX upload. An empty value removes an existing translation. **Required Permissions** \"translation-management.translations.create\"
1310
- * @summary Create the product translations
1311
- * @param {TranslationApiSaveProductTranslationsRequest} requestParameters Request parameters.
1312
- * @param {*} [options] Override http request option.
1313
- * @throws {RequiredError}
1314
- * @memberof TranslationApi
1315
- */
1316
- public saveProductTranslations(requestParameters: TranslationApiSaveProductTranslationsRequest, options?: AxiosRequestConfig) {
1317
- return TranslationApiFp(this.configuration).saveProductTranslations(requestParameters.productSlug, requestParameters.saveProductTranslationsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1318
- }
1319
-
1320
1083
  /**
1321
1084
  * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
1322
1085
  * @summary Update the product language
package/api.ts CHANGED
@@ -20,10 +20,10 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
20
20
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
- import { HealthApi } from './api';
23
+ import { DefaultApi } from './api';
24
24
  import { TranslationApi } from './api';
25
25
 
26
26
 
27
- export * from './api/health-api';
27
+ export * from './api/default-api';
28
28
  export * from './api/translation-api';
29
29