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