@qite/tide-client 1.1.43 → 1.1.44
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/build/index.js +7 -0
- package/build/index.js.map +1 -1
- package/build/types/cms/translation-dictionary-item-localized.model.d.ts +5 -0
- package/build/types/cms/translation-dictionary-item.model.d.ts +6 -0
- package/build/types/cms/translation-dictionary-segment.model.d.ts +7 -0
- package/build/types/cms/translation-dictionary.model.d.ts +4 -0
- package/build/types/offer/dossier-view-result.d.ts +1 -1
- package/build/utils/web-client.d.ts +2 -0
- package/package.json +1 -1
- package/src/utils/web-client.ts +13 -0
package/build/index.js
CHANGED
|
@@ -6489,6 +6489,7 @@ var getEntryStatus = function (config, signal, languageCode) {
|
|
|
6489
6489
|
var ENDPOINT$2 = "/api/web";
|
|
6490
6490
|
var ENDPOINT_CREATE_CRM_CONTACT = ENDPOINT$2 + "/crmcontact";
|
|
6491
6491
|
var ENDPOINT_CREATE_AFFILIATES = ENDPOINT$2 + "/affiliates";
|
|
6492
|
+
var ENDPOINT_TRANSLATION_DICTIONARY = ENDPOINT$2 + "/translation-dictionary";
|
|
6492
6493
|
/**
|
|
6493
6494
|
* api/web/crmcontact
|
|
6494
6495
|
* Creates a CRM contact.
|
|
@@ -6514,6 +6515,11 @@ var getAffiliates = function (config, signal) {
|
|
|
6514
6515
|
var url = "" + config.host + ENDPOINT_CREATE_AFFILIATES;
|
|
6515
6516
|
var apiKey = config.apiKey;
|
|
6516
6517
|
return get(url, apiKey, config.token, signal, true);
|
|
6518
|
+
};
|
|
6519
|
+
var getTranslationDictionary = function (config, segmentKey, signal) {
|
|
6520
|
+
var url = "" + config.host + ENDPOINT_TRANSLATION_DICTIONARY + "/" + segmentKey;
|
|
6521
|
+
var apiKey = config.apiKey;
|
|
6522
|
+
return get(url, apiKey, undefined, signal);
|
|
6517
6523
|
};
|
|
6518
6524
|
|
|
6519
6525
|
var ENDPOINT$1 = "/api/web/contact";
|
|
@@ -6597,6 +6603,7 @@ exports.getInvoiceList = getInvoiceList;
|
|
|
6597
6603
|
exports.getMolliePayment = getMolliePayment;
|
|
6598
6604
|
exports.getPackagePriceDetails = getPackagePriceDetails;
|
|
6599
6605
|
exports.getPrintActions = getPrintActions;
|
|
6606
|
+
exports.getTranslationDictionary = getTranslationDictionary;
|
|
6600
6607
|
exports.login = login;
|
|
6601
6608
|
exports.logout = logout;
|
|
6602
6609
|
exports.priceDetails = priceDetails;
|