Built motion from commit (unavailable).|2.4.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 _0xdf5d=['serverUrl','DeskConfiguration','Configurations','DeskField','Subjects','type','content','variableName','Variable','key','keyType','Fields','idField','customField','getDeskAccounts','GetDeskAccount','name','description','username','password','remoteUri','authType'];(function(_0x86527a,_0x2787c6){var _0x2f14b6=function(_0x4f1613){while(--_0x4f1613){_0x86527a['push'](_0x86527a['shift']());}};_0x2f14b6(++_0x2787c6);}(_0xdf5d,0x19a));var _0xddf5=function(_0x2105ba,_0x33be19){_0x2105ba=_0x2105ba-0x0;var _0x2f55b7=_0xdf5d[_0x2105ba];return _0x2f55b7;};'use strict';var client=require('../../client');exports[_0xddf5('0x0')]=function(){return function(_0x5b1506){return client['Request'](_0xddf5('0x1'),{'options':{'raw':![],'attributes':['id',_0xddf5('0x2'),_0xddf5('0x3'),_0xddf5('0x4'),_0xddf5('0x5'),_0xddf5('0x6'),_0xddf5('0x7'),'type',_0xddf5('0x8')],'include':[{'model':_0xddf5('0x9'),'as':_0xddf5('0xa'),'attributes':['id',_0xddf5('0x2')],'include':[{'model':_0xddf5('0xb'),'as':_0xddf5('0xc'),'attributes':['id',_0xddf5('0xd'),_0xddf5('0xe'),_0xddf5('0xf')],'include':[{'model':_0xddf5('0x10'),'as':_0xddf5('0x10'),'attributes':['id',_0xddf5('0x2')]}]},{'model':_0xddf5('0xb'),'as':'Descriptions','attributes':['id',_0xddf5('0xd'),_0xddf5('0xe'),_0xddf5('0x11'),_0xddf5('0x12'),'keyContent',_0xddf5('0xf')],'include':[{'model':_0xddf5('0x10'),'as':_0xddf5('0x10'),'attributes':['id',_0xddf5('0x2')]}]},{'model':_0xddf5('0xb'),'as':_0xddf5('0x13'),'attributes':['id',_0xddf5('0xd'),'content',_0xddf5('0x14'),'nameField',_0xddf5('0x15'),_0xddf5('0xf')],'include':[{'model':_0xddf5('0x10'),'as':'Variable','attributes':['id','name']}]},{'model':'Tag','as':'Tags','attributes':['id',_0xddf5('0x2')]}]}]},'log':_0xddf5('0x1')});};};