@emilgroup/translation-sdk 1.1.0 → 1.1.1-beta.10

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.
@@ -85,10 +85,6 @@ var axios_1 = __importDefault(require("axios"));
85
85
  var common_1 = require("../common");
86
86
  // @ts-ignore
87
87
  var base_1 = require("../base");
88
- // URLSearchParams not necessarily used
89
- // @ts-ignore
90
- var url_1 = require("url");
91
- var FormData = require('form-data');
92
88
  /**
93
89
  * TranslationApi - axios parameter creator
94
90
  * @export
@@ -97,7 +93,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
97
93
  var _this = this;
98
94
  return {
99
95
  /**
100
- * This creates a product language.
96
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
101
97
  * @summary Create the product language
102
98
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
103
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -114,7 +110,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
114
110
  // verify required parameter 'createProductLanguageRequestDto' is not null or undefined
115
111
  (0, common_1.assertParamExists)('createProductLanguage', 'createProductLanguageRequestDto', createProductLanguageRequestDto);
116
112
  localVarPath = "/translationservice/v1/languages";
117
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
113
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
118
114
  if (configuration) {
119
115
  baseOptions = configuration.baseOptions;
120
116
  baseAccessToken = configuration.accessToken;
@@ -146,7 +142,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
146
142
  });
147
143
  },
148
144
  /**
149
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
145
+ * 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\"
150
146
  * @summary Delete the product language
151
147
  * @param {number} id Id of the product language.
152
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -164,7 +160,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
164
160
  (0, common_1.assertParamExists)('deleteProductLanguage', 'id', id);
165
161
  localVarPath = "/translationservice/v1/languages/{id}"
166
162
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
167
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
163
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
168
164
  if (configuration) {
169
165
  baseOptions = configuration.baseOptions;
170
166
  baseAccessToken = configuration.accessToken;
@@ -194,7 +190,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
194
190
  });
195
191
  },
196
192
  /**
197
- * This downloads the list of translatable fields for a given product.
193
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
198
194
  * @summary Retrieve the product translations
199
195
  * @param {string} productSlug
200
196
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -215,7 +211,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
215
211
  (0, common_1.assertParamExists)('downloadProductTranslations', 'language', language);
216
212
  localVarPath = "/translationservice/v1/product/{productSlug}/download"
217
213
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
218
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
214
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
219
215
  if (configuration) {
220
216
  baseOptions = configuration.baseOptions;
221
217
  baseAccessToken = configuration.accessToken;
@@ -248,7 +244,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
248
244
  });
249
245
  },
250
246
  /**
251
- * This gets a product language.
247
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
252
248
  * @summary Retrieve the product language
253
249
  * @param {number} id Id of the product language.
254
250
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -266,7 +262,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
266
262
  (0, common_1.assertParamExists)('getProductLanguage', 'id', id);
267
263
  localVarPath = "/translationservice/v1/languages/{id}"
268
264
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
269
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
265
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
270
266
  if (configuration) {
271
267
  baseOptions = configuration.baseOptions;
272
268
  baseAccessToken = configuration.accessToken;
@@ -296,19 +292,20 @@ var TranslationApiAxiosParamCreator = function (configuration) {
296
292
  });
297
293
  },
298
294
  /**
299
- * This lists the product languages.
295
+ * 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\"
300
296
  * @summary List product languages
301
297
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
302
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
303
- * @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.
304
- * @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.
305
- * @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.
306
- * @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.
307
- * @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.
298
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
299
+ * @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.
300
+ * @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>
301
+ * @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>
302
+ * @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>
303
+ * @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/>
304
+ * @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>
308
305
  * @param {*} [options] Override http request option.
309
306
  * @throws {RequiredError}
310
307
  */
311
- listProductLanguages: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
308
+ listProductLanguages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
312
309
  if (options === void 0) { options = {}; }
313
310
  return __awaiter(_this, void 0, void 0, function () {
314
311
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -316,7 +313,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
316
313
  switch (_a.label) {
317
314
  case 0:
318
315
  localVarPath = "/translationservice/v1/languages";
319
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
316
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
320
317
  if (configuration) {
321
318
  baseOptions = configuration.baseOptions;
322
319
  baseAccessToken = configuration.accessToken;
@@ -349,6 +346,9 @@ var TranslationApiAxiosParamCreator = function (configuration) {
349
346
  if (expand !== undefined) {
350
347
  localVarQueryParameter['expand'] = expand;
351
348
  }
349
+ if (filters !== undefined) {
350
+ localVarQueryParameter['filters'] = filters;
351
+ }
352
352
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
353
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
354
354
  }
@@ -364,19 +364,20 @@ var TranslationApiAxiosParamCreator = function (configuration) {
364
364
  });
365
365
  },
366
366
  /**
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.
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\"
368
368
  * @summary List translations
369
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
371
- * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
372
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
373
- * @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.
374
- * @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.
375
- * @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.
370
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
371
+ * @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.
372
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: key</i>
373
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: key</i>
374
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, key</i>
375
+ * @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/>
376
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: key</i>
376
377
  * @param {*} [options] Override http request option.
377
378
  * @throws {RequiredError}
378
379
  */
379
- listTranslations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
380
+ listTranslations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
380
381
  if (options === void 0) { options = {}; }
381
382
  return __awaiter(_this, void 0, void 0, function () {
382
383
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -384,7 +385,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
384
385
  switch (_a.label) {
385
386
  case 0:
386
387
  localVarPath = "/translationservice/v1/translations";
387
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
388
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
388
389
  if (configuration) {
389
390
  baseOptions = configuration.baseOptions;
390
391
  baseAccessToken = configuration.accessToken;
@@ -417,6 +418,9 @@ var TranslationApiAxiosParamCreator = function (configuration) {
417
418
  if (expand !== undefined) {
418
419
  localVarQueryParameter['expand'] = expand;
419
420
  }
421
+ if (filters !== undefined) {
422
+ localVarQueryParameter['filters'] = filters;
423
+ }
420
424
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
421
425
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
422
426
  }
@@ -432,7 +436,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
432
436
  });
433
437
  },
434
438
  /**
435
- * This updates the product language with the specified id.
439
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
436
440
  * @summary Update the product language
437
441
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
438
442
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -449,7 +453,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
449
453
  // verify required parameter 'updateProductLanguageRequestDto' is not null or undefined
450
454
  (0, common_1.assertParamExists)('updateProductLanguage', 'updateProductLanguageRequestDto', updateProductLanguageRequestDto);
451
455
  localVarPath = "/translationservice/v1/languages";
452
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
456
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
453
457
  if (configuration) {
454
458
  baseOptions = configuration.baseOptions;
455
459
  baseAccessToken = configuration.accessToken;
@@ -481,7 +485,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
481
485
  });
482
486
  },
483
487
  /**
484
- * This uploads the translations for a given product.
488
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
485
489
  * @summary Create the product translations
486
490
  * @param {string} productSlug
487
491
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -503,7 +507,7 @@ var TranslationApiAxiosParamCreator = function (configuration) {
503
507
  (0, common_1.assertParamExists)('uploadProductTranslations', 'language', language);
504
508
  localVarPath = "/translationservice/v1/product/{productSlug}/upload"
505
509
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
506
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
510
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
507
511
  if (configuration) {
508
512
  baseOptions = configuration.baseOptions;
509
513
  baseAccessToken = configuration.accessToken;
@@ -528,7 +532,6 @@ var TranslationApiAxiosParamCreator = function (configuration) {
528
532
  if (file !== undefined) {
529
533
  localVarFormParams.append('file', file);
530
534
  }
531
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
532
535
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
533
536
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
534
537
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -552,7 +555,7 @@ var TranslationApiFp = function (configuration) {
552
555
  var localVarAxiosParamCreator = (0, exports.TranslationApiAxiosParamCreator)(configuration);
553
556
  return {
554
557
  /**
555
- * This creates a product language.
558
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
556
559
  * @summary Create the product language
557
560
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
558
561
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -573,7 +576,7 @@ var TranslationApiFp = function (configuration) {
573
576
  });
574
577
  },
575
578
  /**
576
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
579
+ * 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\"
577
580
  * @summary Delete the product language
578
581
  * @param {number} id Id of the product language.
579
582
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -594,7 +597,7 @@ var TranslationApiFp = function (configuration) {
594
597
  });
595
598
  },
596
599
  /**
597
- * This downloads the list of translatable fields for a given product.
600
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
598
601
  * @summary Retrieve the product translations
599
602
  * @param {string} productSlug
600
603
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -616,7 +619,7 @@ var TranslationApiFp = function (configuration) {
616
619
  });
617
620
  },
618
621
  /**
619
- * This gets a product language.
622
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
620
623
  * @summary Retrieve the product language
621
624
  * @param {number} id Id of the product language.
622
625
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -637,24 +640,25 @@ var TranslationApiFp = function (configuration) {
637
640
  });
638
641
  },
639
642
  /**
640
- * This lists the product languages.
643
+ * 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\"
641
644
  * @summary List product languages
642
645
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
643
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
644
- * @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.
645
- * @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.
646
- * @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.
647
- * @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.
648
- * @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.
646
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
647
+ * @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.
648
+ * @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>
649
+ * @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>
650
+ * @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>
651
+ * @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/>
652
+ * @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>
649
653
  * @param {*} [options] Override http request option.
650
654
  * @throws {RequiredError}
651
655
  */
652
- listProductLanguages: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
656
+ listProductLanguages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
653
657
  return __awaiter(this, void 0, void 0, function () {
654
658
  var localVarAxiosArgs;
655
659
  return __generator(this, function (_a) {
656
660
  switch (_a.label) {
657
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, options)];
661
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
658
662
  case 1:
659
663
  localVarAxiosArgs = _a.sent();
660
664
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -663,24 +667,25 @@ var TranslationApiFp = function (configuration) {
663
667
  });
664
668
  },
665
669
  /**
666
- * 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.
670
+ * 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\"
667
671
  * @summary List translations
668
672
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
669
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
670
- * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
671
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
672
- * @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.
673
- * @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.
674
- * @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.
673
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
674
+ * @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.
675
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: key</i>
676
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: key</i>
677
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, key</i>
678
+ * @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/>
679
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: key</i>
675
680
  * @param {*} [options] Override http request option.
676
681
  * @throws {RequiredError}
677
682
  */
678
- listTranslations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
683
+ listTranslations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
679
684
  return __awaiter(this, void 0, void 0, function () {
680
685
  var localVarAxiosArgs;
681
686
  return __generator(this, function (_a) {
682
687
  switch (_a.label) {
683
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, options)];
688
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
684
689
  case 1:
685
690
  localVarAxiosArgs = _a.sent();
686
691
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -689,7 +694,7 @@ var TranslationApiFp = function (configuration) {
689
694
  });
690
695
  },
691
696
  /**
692
- * This updates the product language with the specified id.
697
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
693
698
  * @summary Update the product language
694
699
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
695
700
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -710,7 +715,7 @@ var TranslationApiFp = function (configuration) {
710
715
  });
711
716
  },
712
717
  /**
713
- * This uploads the translations for a given product.
718
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
714
719
  * @summary Create the product translations
715
720
  * @param {string} productSlug
716
721
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -743,7 +748,7 @@ var TranslationApiFactory = function (configuration, basePath, axios) {
743
748
  var localVarFp = (0, exports.TranslationApiFp)(configuration);
744
749
  return {
745
750
  /**
746
- * This creates a product language.
751
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
747
752
  * @summary Create the product language
748
753
  * @param {CreateProductLanguageRequestDto} createProductLanguageRequestDto
749
754
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -754,7 +759,7 @@ var TranslationApiFactory = function (configuration, basePath, axios) {
754
759
  return localVarFp.createProductLanguage(createProductLanguageRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
755
760
  },
756
761
  /**
757
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
762
+ * 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\"
758
763
  * @summary Delete the product language
759
764
  * @param {number} id Id of the product language.
760
765
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -765,7 +770,7 @@ var TranslationApiFactory = function (configuration, basePath, axios) {
765
770
  return localVarFp.deleteProductLanguage(id, authorization, options).then(function (request) { return request(axios, basePath); });
766
771
  },
767
772
  /**
768
- * This downloads the list of translatable fields for a given product.
773
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
769
774
  * @summary Retrieve the product translations
770
775
  * @param {string} productSlug
771
776
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -777,7 +782,7 @@ var TranslationApiFactory = function (configuration, basePath, axios) {
777
782
  return localVarFp.downloadProductTranslations(productSlug, language, authorization, options).then(function (request) { return request(axios, basePath); });
778
783
  },
779
784
  /**
780
- * This gets a product language.
785
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
781
786
  * @summary Retrieve the product language
782
787
  * @param {number} id Id of the product language.
783
788
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -788,39 +793,41 @@ var TranslationApiFactory = function (configuration, basePath, axios) {
788
793
  return localVarFp.getProductLanguage(id, authorization, options).then(function (request) { return request(axios, basePath); });
789
794
  },
790
795
  /**
791
- * This lists the product languages.
796
+ * 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\"
792
797
  * @summary List product languages
793
798
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
794
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
795
- * @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.
796
- * @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.
797
- * @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.
798
- * @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.
799
- * @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.
799
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
800
+ * @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.
801
+ * @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>
802
+ * @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>
803
+ * @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>
804
+ * @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/>
805
+ * @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>
800
806
  * @param {*} [options] Override http request option.
801
807
  * @throws {RequiredError}
802
808
  */
803
- listProductLanguages: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
804
- return localVarFp.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
809
+ listProductLanguages: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
810
+ return localVarFp.listProductLanguages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
805
811
  },
806
812
  /**
807
- * 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.
813
+ * 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\"
808
814
  * @summary List translations
809
815
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
810
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
811
- * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
812
- * @param {'key'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
813
- * @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.
814
- * @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.
815
- * @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.
816
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
817
+ * @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.
818
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: key</i>
819
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: key</i>
820
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, key</i>
821
+ * @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/>
822
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: key</i>
816
823
  * @param {*} [options] Override http request option.
817
824
  * @throws {RequiredError}
818
825
  */
819
- listTranslations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
820
- return localVarFp.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
826
+ listTranslations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
827
+ return localVarFp.listTranslations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
821
828
  },
822
829
  /**
823
- * This updates the product language with the specified id.
830
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
824
831
  * @summary Update the product language
825
832
  * @param {UpdateProductLanguageRequestDto} updateProductLanguageRequestDto
826
833
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -831,7 +838,7 @@ var TranslationApiFactory = function (configuration, basePath, axios) {
831
838
  return localVarFp.updateProductLanguage(updateProductLanguageRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
832
839
  },
833
840
  /**
834
- * This uploads the translations for a given product.
841
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
835
842
  * @summary Create the product translations
836
843
  * @param {string} productSlug
837
844
  * @param {'German' | 'English' | 'Polish' | 'French' | 'Italian' | 'Spanish' | 'Portuguese' | 'Russian' | 'Japanese' | 'Chinese' | 'Korean' | 'Turkish' | 'Arabic' | 'Hindi' | 'Indonesian' | 'Thai' | 'Vietnamese' | 'Persian' | 'Romanian'} language
@@ -858,7 +865,7 @@ var TranslationApi = /** @class */ (function (_super) {
858
865
  return _super !== null && _super.apply(this, arguments) || this;
859
866
  }
860
867
  /**
861
- * This creates a product language.
868
+ * This creates a product language. **Required Permissions** \"translation-management.translations.create\"
862
869
  * @summary Create the product language
863
870
  * @param {TranslationApiCreateProductLanguageRequest} requestParameters Request parameters.
864
871
  * @param {*} [options] Override http request option.
@@ -870,7 +877,7 @@ var TranslationApi = /** @class */ (function (_super) {
870
877
  return (0, exports.TranslationApiFp)(this.configuration).createProductLanguage(requestParameters.createProductLanguageRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
871
878
  };
872
879
  /**
873
- * Permanently deletes the product language. Supply the unique id that was returned when you created the product language and this will delete it.
880
+ * 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\"
874
881
  * @summary Delete the product language
875
882
  * @param {TranslationApiDeleteProductLanguageRequest} requestParameters Request parameters.
876
883
  * @param {*} [options] Override http request option.
@@ -882,7 +889,7 @@ var TranslationApi = /** @class */ (function (_super) {
882
889
  return (0, exports.TranslationApiFp)(this.configuration).deleteProductLanguage(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
883
890
  };
884
891
  /**
885
- * This downloads the list of translatable fields for a given product.
892
+ * This downloads the list of translatable fields for a given product. **Required Permissions** \"translation-management.translations.view\"
886
893
  * @summary Retrieve the product translations
887
894
  * @param {TranslationApiDownloadProductTranslationsRequest} requestParameters Request parameters.
888
895
  * @param {*} [options] Override http request option.
@@ -894,7 +901,7 @@ var TranslationApi = /** @class */ (function (_super) {
894
901
  return (0, exports.TranslationApiFp)(this.configuration).downloadProductTranslations(requestParameters.productSlug, requestParameters.language, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
895
902
  };
896
903
  /**
897
- * This gets a product language.
904
+ * This gets a product language. **Required Permissions** \"translation-management.translations.view\"
898
905
  * @summary Retrieve the product language
899
906
  * @param {TranslationApiGetProductLanguageRequest} requestParameters Request parameters.
900
907
  * @param {*} [options] Override http request option.
@@ -906,7 +913,7 @@ var TranslationApi = /** @class */ (function (_super) {
906
913
  return (0, exports.TranslationApiFp)(this.configuration).getProductLanguage(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
907
914
  };
908
915
  /**
909
- * This lists the product languages.
916
+ * 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\"
910
917
  * @summary List product languages
911
918
  * @param {TranslationApiListProductLanguagesRequest} requestParameters Request parameters.
912
919
  * @param {*} [options] Override http request option.
@@ -916,10 +923,10 @@ var TranslationApi = /** @class */ (function (_super) {
916
923
  TranslationApi.prototype.listProductLanguages = function (requestParameters, options) {
917
924
  var _this = this;
918
925
  if (requestParameters === void 0) { requestParameters = {}; }
919
- return (0, exports.TranslationApiFp)(this.configuration).listProductLanguages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
926
+ return (0, exports.TranslationApiFp)(this.configuration).listProductLanguages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
920
927
  };
921
928
  /**
922
- * 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.
929
+ * 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\"
923
930
  * @summary List translations
924
931
  * @param {TranslationApiListTranslationsRequest} requestParameters Request parameters.
925
932
  * @param {*} [options] Override http request option.
@@ -929,10 +936,10 @@ var TranslationApi = /** @class */ (function (_super) {
929
936
  TranslationApi.prototype.listTranslations = function (requestParameters, options) {
930
937
  var _this = this;
931
938
  if (requestParameters === void 0) { requestParameters = {}; }
932
- return (0, exports.TranslationApiFp)(this.configuration).listTranslations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
939
+ return (0, exports.TranslationApiFp)(this.configuration).listTranslations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
933
940
  };
934
941
  /**
935
- * This updates the product language with the specified id.
942
+ * This updates the product language with the specified id. **Required Permissions** \"translation-management.translations.update\"
936
943
  * @summary Update the product language
937
944
  * @param {TranslationApiUpdateProductLanguageRequest} requestParameters Request parameters.
938
945
  * @param {*} [options] Override http request option.
@@ -944,7 +951,7 @@ var TranslationApi = /** @class */ (function (_super) {
944
951
  return (0, exports.TranslationApiFp)(this.configuration).updateProductLanguage(requestParameters.updateProductLanguageRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
945
952
  };
946
953
  /**
947
- * This uploads the translations for a given product.
954
+ * This uploads the translations for a given product. **Required Permissions** \"translation-management.translations.create\"
948
955
  * @summary Create the product translations
949
956
  * @param {TranslationApiUploadProductTranslationsRequest} requestParameters Request parameters.
950
957
  * @param {*} [options] Override http request option.
package/dist/api.d.ts CHANGED
@@ -9,4 +9,5 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/default-api';
12
13
  export * from './api/translation-api';
package/dist/api.js CHANGED
@@ -27,4 +27,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/default-api"), exports);
30
31
  __exportStar(require("./api/translation-api"), exports);