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