Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / services / ami / rpc / integrations / desk.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xa25a=['Subjects','content','variableName','Variable','Descriptions','key','keyType','keyContent','Fields','idField','nameField','customField','Tag','Tags','../../client','getDeskAccounts','Request','GetDeskAccount','name','description','authType','type','DeskConfiguration','Configurations','DeskField'];(function(_0xbb091,_0x3fe7ee){var _0x467a04=function(_0x3a978d){while(--_0x3a978d){_0xbb091['push'](_0xbb091['shift']());}};_0x467a04(++_0x3fe7ee);}(_0xa25a,0x19e));var _0xaa25=function(_0x3d030b,_0x58177a){_0x3d030b=_0x3d030b-0x0;var _0x5118c7=_0xa25a[_0x3d030b];return _0x5118c7;};'use strict';var client=require(_0xaa25('0x0'));exports[_0xaa25('0x1')]=function(){return function(_0x5aa5c8){return client[_0xaa25('0x2')](_0xaa25('0x3'),{'options':{'raw':![],'attributes':['id',_0xaa25('0x4'),_0xaa25('0x5'),'username','password','remoteUri',_0xaa25('0x6'),_0xaa25('0x7'),'serverUrl'],'include':[{'model':_0xaa25('0x8'),'as':_0xaa25('0x9'),'attributes':['id',_0xaa25('0x4')],'include':[{'model':_0xaa25('0xa'),'as':_0xaa25('0xb'),'attributes':['id',_0xaa25('0x7'),_0xaa25('0xc'),_0xaa25('0xd')],'include':[{'model':_0xaa25('0xe'),'as':'Variable','attributes':['id',_0xaa25('0x4')]}]},{'model':_0xaa25('0xa'),'as':_0xaa25('0xf'),'attributes':['id','type',_0xaa25('0xc'),_0xaa25('0x10'),_0xaa25('0x11'),_0xaa25('0x12'),_0xaa25('0xd')],'include':[{'model':'Variable','as':_0xaa25('0xe'),'attributes':['id','name']}]},{'model':_0xaa25('0xa'),'as':_0xaa25('0x13'),'attributes':['id',_0xaa25('0x7'),'content',_0xaa25('0x14'),_0xaa25('0x15'),_0xaa25('0x16'),_0xaa25('0xd')],'include':[{'model':_0xaa25('0xe'),'as':_0xaa25('0xe'),'attributes':['id',_0xaa25('0x4')]}]},{'model':_0xaa25('0x17'),'as':_0xaa25('0x18'),'attributes':['id',_0xaa25('0x4')]}]}]},'log':_0xaa25('0x3')});};};