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 _0x1261=['content','variableName','Variable','ServicenowField','Descriptions','keyContent','Fields','idField','nameField','getServicenowAccounts','Request','GetServicenowAccount','name','description','username','password','email','remoteUri','Configurations','Subjects','type'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x1261,0x144));var _0x1126=function(_0x459963,_0x5a366a){_0x459963=_0x459963-0x0;var _0xbe84e3=_0x1261[_0x459963];return _0xbe84e3;};'use strict';var client=require('../../client');exports[_0x1126('0x0')]=function(){return function(_0x26c6a0){return client[_0x1126('0x1')](_0x1126('0x2'),{'options':{'raw':![],'attributes':['id',_0x1126('0x3'),_0x1126('0x4'),_0x1126('0x5'),_0x1126('0x6'),_0x1126('0x7'),_0x1126('0x8'),'serverUrl'],'include':[{'model':'ServicenowConfiguration','as':_0x1126('0x9'),'attributes':['id',_0x1126('0x3')],'include':[{'model':'ServicenowField','as':_0x1126('0xa'),'attributes':['id',_0x1126('0xb'),_0x1126('0xc'),_0x1126('0xd')],'include':[{'model':_0x1126('0xe'),'as':'Variable','attributes':['id',_0x1126('0x3')]}]},{'model':_0x1126('0xf'),'as':_0x1126('0x10'),'attributes':['id','type',_0x1126('0xc'),'key','keyType',_0x1126('0x11'),'variableName'],'include':[{'model':_0x1126('0xe'),'as':_0x1126('0xe'),'attributes':['id',_0x1126('0x3')]}]},{'model':_0x1126('0xf'),'as':_0x1126('0x12'),'attributes':['id',_0x1126('0xb'),_0x1126('0xc'),_0x1126('0x13'),_0x1126('0x14'),'customField','variableName'],'include':[{'model':_0x1126('0xe'),'as':_0x1126('0xe'),'attributes':['id',_0x1126('0x3')]}]}]}]},'log':'GetServicenowkAccount'});};};