vue-intergrall-plugins 0.0.200 → 0.0.201
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.
|
@@ -7779,7 +7779,10 @@ var axios_1 = axios$1;
|
|
|
7779
7779
|
// Allow use of default import syntax in TypeScript
|
|
7780
7780
|
var _default = axios$1;
|
|
7781
7781
|
axios_1.default = _default;var axios = axios_1;vue__default["default"].prototype.$httpRequest = axios;
|
|
7782
|
-
var
|
|
7782
|
+
var domain = window.location.hostname == 'localhost' ? "https://linux07" : "https://".concat(window.location.hostname) + "/im";
|
|
7783
|
+
var route = "/im/smartChannel/v1/api.php/"; // const route = `atdHumano/middleware/smartchannel_api.php`
|
|
7784
|
+
|
|
7785
|
+
var baseURL = "".concat(domain).concat(route);
|
|
7783
7786
|
var dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';var standardMessages = {
|
|
7784
7787
|
methods: {
|
|
7785
7788
|
getStandardMessages: function getStandardMessages(type, token) {
|
|
@@ -7794,7 +7797,7 @@ var dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';var s
|
|
|
7794
7797
|
return _context.abrupt("return", _this.$httpRequest({
|
|
7795
7798
|
method: 'get',
|
|
7796
7799
|
url: "".concat(baseURL, "/messages/").concat(type, "?token_cliente=").concat(token).concat(dev) // headers: {
|
|
7797
|
-
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
|
|
7800
|
+
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1UzakpwZmViWkc1Y1M4dm9rRnBOdFY2WEYxaTh0ZllLWEkzV0ljRTd0M0dxeSIsIm1hbmFnZXIiOiJNS1VxQnBrRlIzQk5ING02Q2J3d2ltNGw1d3dJd3d4YjQ0YXd3aFk1VXd3aW00bDV3d2szSWZJV2RGc2dFRjhjdEhoOVB2eCIsImhhc19pbmZvcyI6dHJ1ZSwibnJvcyI6WyIyOCJdLCJhdXRoIjoiTUtVYXNtV3NNSnpZdmV2R2VQYTRubkZqdHRWR3gxODl6RnRWNDVtVUdFN1JlazAiLCJpYXQiOjE2NDg2NTkwNjQsImV4cCI6MTY0ODc0NTQ2NH0.vdwahP7qSwLJ8qYdQsG-ydL1Y-tzf6Frt0rnd9fYpIU"
|
|
7798
7801
|
// }
|
|
7799
7802
|
|
|
7800
7803
|
}).then(function (response) {
|