1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x1ee2=['apiKey','FreshsalesConfiguration','Configurations','name','FreshsalesField','type','content','variableName','Variable','Descriptions','key','GetFreshsalesccount','../../client','getFreshsalesAccounts','Request','GetFreshsalesAccount','username'];(function(_0x4a29d2,_0x43f63b){var _0x4acf0f=function(_0x15e9a2){while(--_0x15e9a2){_0x4a29d2['push'](_0x4a29d2['shift']());}};_0x4acf0f(++_0x43f63b);}(_0x1ee2,0x11c));var _0x21ee=function(_0x445281,_0x3565d5){_0x445281=_0x445281-0x0;var _0x742b5e=_0x1ee2[_0x445281];return _0x742b5e;};'use strict';var client=require(_0x21ee('0x0'));exports[_0x21ee('0x1')]=function(){return function(_0x23b7c9){return client[_0x21ee('0x2')](_0x21ee('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x21ee('0x4'),_0x21ee('0x5'),'remoteUri','serverUrl'],'include':[{'model':_0x21ee('0x6'),'as':_0x21ee('0x7'),'attributes':['id',_0x21ee('0x8')],'include':[{'model':_0x21ee('0x9'),'as':'Subjects','attributes':['id',_0x21ee('0xa'),_0x21ee('0xb'),_0x21ee('0xc')],'include':[{'model':_0x21ee('0xd'),'as':_0x21ee('0xd'),'attributes':['id',_0x21ee('0x8')]}]},{'model':_0x21ee('0x9'),'as':_0x21ee('0xe'),'attributes':['id',_0x21ee('0xa'),_0x21ee('0xb'),_0x21ee('0xf'),'keyType','keyContent','variableName'],'include':[{'model':_0x21ee('0xd'),'as':_0x21ee('0xd'),'attributes':['id',_0x21ee('0x8')]}]}]}]},'log':_0x21ee('0x10')});};};