Built motion from commit (unavailable).|2.5.0
[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 _0x8dc0=['Configurations','Tag','Subjects','type','variableName','Variable','FreshdeskField','Descriptions','content','key','keyContent','Fields','idField','nameField','customField','getFreshdeskAccounts','Request','GetFreshdeskAccount','name','username','apiKey','remoteUri','serverUrl','FreshdeskConfiguration'];(function(_0x217e01,_0xff32e6){var _0x44170d=function(_0x2e80a4){while(--_0x2e80a4){_0x217e01['push'](_0x217e01['shift']());}};_0x44170d(++_0xff32e6);}(_0x8dc0,0xff));var _0x08dc=function(_0x51beba,_0x202d19){_0x51beba=_0x51beba-0x0;var _0x167ee0=_0x8dc0[_0x51beba];return _0x167ee0;};'use strict';var client=require('../../client');exports[_0x08dc('0x0')]=function(){return function(_0x47ec28){return client[_0x08dc('0x1')](_0x08dc('0x2'),{'options':{'raw':![],'attributes':['id',_0x08dc('0x3'),_0x08dc('0x4'),_0x08dc('0x5'),_0x08dc('0x6'),_0x08dc('0x7')],'include':[{'model':_0x08dc('0x8'),'as':_0x08dc('0x9'),'attributes':['id',_0x08dc('0x3')],'include':[{'model':_0x08dc('0xa'),'attributes':['id',_0x08dc('0x3')]},{'model':'FreshdeskField','as':_0x08dc('0xb'),'attributes':['id',_0x08dc('0xc'),'content',_0x08dc('0xd')],'include':[{'model':_0x08dc('0xe'),'as':_0x08dc('0xe'),'attributes':['id',_0x08dc('0x3')]}]},{'model':_0x08dc('0xf'),'as':_0x08dc('0x10'),'attributes':['id',_0x08dc('0xc'),_0x08dc('0x11'),_0x08dc('0x12'),'keyType',_0x08dc('0x13'),_0x08dc('0xd')],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0x08dc('0x3')]}]},{'model':'FreshdeskField','as':_0x08dc('0x14'),'attributes':['id',_0x08dc('0xc'),'content',_0x08dc('0x15'),_0x08dc('0x16'),_0x08dc('0x17'),_0x08dc('0xd')],'include':[{'model':_0x08dc('0xe'),'as':_0x08dc('0xe'),'attributes':['id','name']}]}]}]},'log':'GetFreshdeskAccount'});};};