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 _0xa02e=['username','password','remoteUri','authType','type','serverUrl','DeskConfiguration','Configurations','DeskField','Subjects','content','variableName','Variable','key','keyType','Fields','idField','customField','Tag','getDeskAccounts','Request','GetDeskAccount','name','description'];(function(_0x2b7cec,_0x948c5d){var _0x5c7780=function(_0x3f3aac){while(--_0x3f3aac){_0x2b7cec['push'](_0x2b7cec['shift']());}};_0x5c7780(++_0x948c5d);}(_0xa02e,0xa3));var _0xea02=function(_0x36a722,_0x36d3c7){_0x36a722=_0x36a722-0x0;var _0x9ccda=_0xa02e[_0x36a722];return _0x9ccda;};'use strict';var client=require('../../client');exports[_0xea02('0x0')]=function(){return function(_0x494f1a){return client[_0xea02('0x1')](_0xea02('0x2'),{'options':{'raw':![],'attributes':['id',_0xea02('0x3'),_0xea02('0x4'),_0xea02('0x5'),_0xea02('0x6'),_0xea02('0x7'),_0xea02('0x8'),_0xea02('0x9'),_0xea02('0xa')],'include':[{'model':_0xea02('0xb'),'as':_0xea02('0xc'),'attributes':['id',_0xea02('0x3')],'include':[{'model':_0xea02('0xd'),'as':_0xea02('0xe'),'attributes':['id','type',_0xea02('0xf'),_0xea02('0x10')],'include':[{'model':_0xea02('0x11'),'as':_0xea02('0x11'),'attributes':['id',_0xea02('0x3')]}]},{'model':_0xea02('0xd'),'as':'Descriptions','attributes':['id',_0xea02('0x9'),_0xea02('0xf'),_0xea02('0x12'),_0xea02('0x13'),'keyContent',_0xea02('0x10')],'include':[{'model':'Variable','as':_0xea02('0x11'),'attributes':['id',_0xea02('0x3')]}]},{'model':_0xea02('0xd'),'as':_0xea02('0x14'),'attributes':['id','type',_0xea02('0xf'),_0xea02('0x15'),'nameField',_0xea02('0x16'),'variableName'],'include':[{'model':_0xea02('0x11'),'as':_0xea02('0x11'),'attributes':['id',_0xea02('0x3')]}]},{'model':_0xea02('0x17'),'as':'Tags','attributes':['id','name']}]}]},'log':'GetDeskAccount'});};};