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 _0x323f=['Subjects','type','content','variableName','Variable','FreshsalesField','Descriptions','key','keyType','keyContent','GetFreshsalesccount','getFreshsalesAccounts','Request','GetFreshsalesAccount','name','username','apiKey','remoteUri','serverUrl','FreshsalesConfiguration','Configurations'];(function(_0x1f7e78,_0x2b24fe){var _0x3dd43d=function(_0x4667bd){while(--_0x4667bd){_0x1f7e78['push'](_0x1f7e78['shift']());}};_0x3dd43d(++_0x2b24fe);}(_0x323f,0x1ee));var _0xf323=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0x323f[_0x55f8b4];return _0x2475f9;};'use strict';var client=require('../../client');exports[_0xf323('0x0')]=function(){return function(_0x564979){return client[_0xf323('0x1')](_0xf323('0x2'),{'options':{'raw':![],'attributes':['id',_0xf323('0x3'),_0xf323('0x4'),_0xf323('0x5'),_0xf323('0x6'),_0xf323('0x7')],'include':[{'model':_0xf323('0x8'),'as':_0xf323('0x9'),'attributes':['id',_0xf323('0x3')],'include':[{'model':'FreshsalesField','as':_0xf323('0xa'),'attributes':['id',_0xf323('0xb'),_0xf323('0xc'),_0xf323('0xd')],'include':[{'model':_0xf323('0xe'),'as':_0xf323('0xe'),'attributes':['id',_0xf323('0x3')]}]},{'model':_0xf323('0xf'),'as':_0xf323('0x10'),'attributes':['id',_0xf323('0xb'),_0xf323('0xc'),_0xf323('0x11'),_0xf323('0x12'),_0xf323('0x13'),_0xf323('0xd')],'include':[{'model':_0xf323('0xe'),'as':_0xf323('0xe'),'attributes':['id','name']}]}]}]},'log':_0xf323('0x14')});};};