Built motion from commit (unavailable).|2.5.5
[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 _0x3fd3=['nameField','customField','Tag','Tags','../../client','getDeskAccounts','Request','GetDeskAccount','description','username','password','authType','serverUrl','DeskConfiguration','Configurations','name','DeskField','Subjects','type','content','variableName','Variable','Descriptions','keyType','Fields','idField'];(function(_0x238830,_0x545f75){var _0x5917f0=function(_0x12f821){while(--_0x12f821){_0x238830['push'](_0x238830['shift']());}};_0x5917f0(++_0x545f75);}(_0x3fd3,0xd4));var _0x33fd=function(_0x1caf6a,_0x26a5bf){_0x1caf6a=_0x1caf6a-0x0;var _0x1bf493=_0x3fd3[_0x1caf6a];return _0x1bf493;};'use strict';var client=require(_0x33fd('0x0'));exports[_0x33fd('0x1')]=function(){return function(_0x55ab8e){return client[_0x33fd('0x2')](_0x33fd('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x33fd('0x4'),_0x33fd('0x5'),_0x33fd('0x6'),'remoteUri',_0x33fd('0x7'),'type',_0x33fd('0x8')],'include':[{'model':_0x33fd('0x9'),'as':_0x33fd('0xa'),'attributes':['id',_0x33fd('0xb')],'include':[{'model':_0x33fd('0xc'),'as':_0x33fd('0xd'),'attributes':['id',_0x33fd('0xe'),_0x33fd('0xf'),_0x33fd('0x10')],'include':[{'model':_0x33fd('0x11'),'as':'Variable','attributes':['id',_0x33fd('0xb')]}]},{'model':_0x33fd('0xc'),'as':_0x33fd('0x12'),'attributes':['id','type','content','key',_0x33fd('0x13'),'keyContent',_0x33fd('0x10')],'include':[{'model':_0x33fd('0x11'),'as':_0x33fd('0x11'),'attributes':['id',_0x33fd('0xb')]}]},{'model':_0x33fd('0xc'),'as':_0x33fd('0x14'),'attributes':['id',_0x33fd('0xe'),'content',_0x33fd('0x15'),_0x33fd('0x16'),_0x33fd('0x17'),_0x33fd('0x10')],'include':[{'model':_0x33fd('0x11'),'as':_0x33fd('0x11'),'attributes':['id',_0x33fd('0xb')]}]},{'model':_0x33fd('0x18'),'as':_0x33fd('0x19'),'attributes':['id',_0x33fd('0xb')]}]}]},'log':_0x33fd('0x3')});};};