Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / services / ami / rpc / integrations / freshdesk.js
index e999e89..1d5ddb1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0aa9=['content','Variable','FreshdeskField','Descriptions','key','keyType','keyContent','variableName','type','idField','customField','Request','GetFreshdeskAccount','username','serverUrl','FreshdeskConfiguration','name','Tag','Subjects'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x0aa9,0x1ad));var _0x90aa=function(_0x205e5a,_0x5c19fb){_0x205e5a=_0x205e5a-0x0;var _0x10da58=_0x0aa9[_0x205e5a];return _0x10da58;};'use strict';var client=require('../../client');exports['getFreshdeskAccounts']=function(){return function(_0x1c8556){return client[_0x90aa('0x0')](_0x90aa('0x1'),{'options':{'raw':![],'attributes':['id','name',_0x90aa('0x2'),'apiKey','remoteUri',_0x90aa('0x3')],'include':[{'model':_0x90aa('0x4'),'as':'Configurations','attributes':['id',_0x90aa('0x5')],'include':[{'model':_0x90aa('0x6'),'attributes':['id',_0x90aa('0x5')]},{'model':'FreshdeskField','as':_0x90aa('0x7'),'attributes':['id','type',_0x90aa('0x8'),'variableName'],'include':[{'model':_0x90aa('0x9'),'as':_0x90aa('0x9'),'attributes':['id','name']}]},{'model':_0x90aa('0xa'),'as':_0x90aa('0xb'),'attributes':['id','type',_0x90aa('0x8'),_0x90aa('0xc'),_0x90aa('0xd'),_0x90aa('0xe'),_0x90aa('0xf')],'include':[{'model':_0x90aa('0x9'),'as':_0x90aa('0x9'),'attributes':['id',_0x90aa('0x5')]}]},{'model':_0x90aa('0xa'),'as':'Fields','attributes':['id',_0x90aa('0x10'),_0x90aa('0x8'),_0x90aa('0x11'),'nameField',_0x90aa('0x12'),_0x90aa('0xf')],'include':[{'model':_0x90aa('0x9'),'as':_0x90aa('0x9'),'attributes':['id','name']}]}]}]},'log':_0x90aa('0x1')});};};
\ No newline at end of file
+var _0xbe9d=['serverUrl','FreshdeskConfiguration','Configurations','FreshdeskField','Subjects','content','variableName','Variable','Descriptions','type','keyType','keyContent','Fields','nameField','customField','../../client','getFreshdeskAccounts','Request','GetFreshdeskAccount','name','username','apiKey','remoteUri'];(function(_0x2b576b,_0x2a4883){var _0x1ddd5a=function(_0x4a4e83){while(--_0x4a4e83){_0x2b576b['push'](_0x2b576b['shift']());}};_0x1ddd5a(++_0x2a4883);}(_0xbe9d,0x99));var _0xdbe9=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0xbe9d[_0x4154a6];return _0x3b2786;};'use strict';var client=require(_0xdbe9('0x0'));exports[_0xdbe9('0x1')]=function(){return function(_0x37c57c){return client[_0xdbe9('0x2')](_0xdbe9('0x3'),{'options':{'raw':![],'attributes':['id',_0xdbe9('0x4'),_0xdbe9('0x5'),_0xdbe9('0x6'),_0xdbe9('0x7'),_0xdbe9('0x8')],'include':[{'model':_0xdbe9('0x9'),'as':_0xdbe9('0xa'),'attributes':['id',_0xdbe9('0x4')],'include':[{'model':'Tag','attributes':['id','name']},{'model':_0xdbe9('0xb'),'as':_0xdbe9('0xc'),'attributes':['id','type',_0xdbe9('0xd'),_0xdbe9('0xe')],'include':[{'model':_0xdbe9('0xf'),'as':'Variable','attributes':['id','name']}]},{'model':_0xdbe9('0xb'),'as':_0xdbe9('0x10'),'attributes':['id',_0xdbe9('0x11'),_0xdbe9('0xd'),'key',_0xdbe9('0x12'),_0xdbe9('0x13'),_0xdbe9('0xe')],'include':[{'model':_0xdbe9('0xf'),'as':'Variable','attributes':['id',_0xdbe9('0x4')]}]},{'model':'FreshdeskField','as':_0xdbe9('0x14'),'attributes':['id',_0xdbe9('0x11'),_0xdbe9('0xd'),'idField',_0xdbe9('0x15'),_0xdbe9('0x16'),_0xdbe9('0xe')],'include':[{'model':'Variable','as':_0xdbe9('0xf'),'attributes':['id','name']}]}]}]},'log':_0xdbe9('0x3')});};};
\ No newline at end of file