Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.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 _0x73af=['content','variableName','Variable','Descriptions','key','keyContent','Fields','nameField','customField','../../client','getFreshdeskAccounts','Request','name','username','apiKey','remoteUri','serverUrl','Configurations','Tag','FreshdeskField','Subjects','type'];(function(_0xa9c2c7,_0x16dfbc){var _0x1a1c9f=function(_0x4aabd7){while(--_0x4aabd7){_0xa9c2c7['push'](_0xa9c2c7['shift']());}};_0x1a1c9f(++_0x16dfbc);}(_0x73af,0x77));var _0xf73a=function(_0x33fc57,_0xdd2591){_0x33fc57=_0x33fc57-0x0;var _0xf701ca=_0x73af[_0x33fc57];return _0xf701ca;};'use strict';var client=require(_0xf73a('0x0'));exports[_0xf73a('0x1')]=function(){return function(_0x300014){return client[_0xf73a('0x2')]('GetFreshdeskAccount',{'options':{'raw':![],'attributes':['id',_0xf73a('0x3'),_0xf73a('0x4'),_0xf73a('0x5'),_0xf73a('0x6'),_0xf73a('0x7')],'include':[{'model':'FreshdeskConfiguration','as':_0xf73a('0x8'),'attributes':['id',_0xf73a('0x3')],'include':[{'model':_0xf73a('0x9'),'attributes':['id',_0xf73a('0x3')]},{'model':_0xf73a('0xa'),'as':_0xf73a('0xb'),'attributes':['id',_0xf73a('0xc'),_0xf73a('0xd'),_0xf73a('0xe')],'include':[{'model':_0xf73a('0xf'),'as':_0xf73a('0xf'),'attributes':['id',_0xf73a('0x3')]}]},{'model':_0xf73a('0xa'),'as':_0xf73a('0x10'),'attributes':['id',_0xf73a('0xc'),_0xf73a('0xd'),_0xf73a('0x11'),'keyType',_0xf73a('0x12'),_0xf73a('0xe')],'include':[{'model':_0xf73a('0xf'),'as':_0xf73a('0xf'),'attributes':['id',_0xf73a('0x3')]}]},{'model':_0xf73a('0xa'),'as':_0xf73a('0x13'),'attributes':['id',_0xf73a('0xc'),'content','idField',_0xf73a('0x14'),_0xf73a('0x15'),_0xf73a('0xe')],'include':[{'model':_0xf73a('0xf'),'as':_0xf73a('0xf'),'attributes':['id',_0xf73a('0x3')]}]}]}]},'log':'GetFreshdeskAccount'});};};