Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / services / ami / rpc / integrations / zendesk.js
index 0d4bbf7..a952817 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8f2b=['key','keyType','keyContent','Fields','idField','nameField','customField','../../client','Request','name','token','remoteUri','authType','ZendeskConfiguration','Tag','ZendeskField','Subjects','type','content','variableName','Variable','Descriptions'];(function(_0x4bfcbe,_0x4630f5){var _0x5b65e6=function(_0x5dcfc8){while(--_0x5dcfc8){_0x4bfcbe['push'](_0x4bfcbe['shift']());}};_0x5b65e6(++_0x4630f5);}(_0x8f2b,0xcd));var _0xb8f2=function(_0x33f318,_0x15c85e){_0x33f318=_0x33f318-0x0;var _0x27d6a2=_0x8f2b[_0x33f318];return _0x27d6a2;};'use strict';var client=require(_0xb8f2('0x0'));exports['getZendeskAccounts']=function(){return function(_0x34c12a){return client[_0xb8f2('0x1')]('GetZendeskAccount',{'options':{'raw':![],'attributes':['id',_0xb8f2('0x2'),'username','password',_0xb8f2('0x3'),_0xb8f2('0x4'),_0xb8f2('0x5'),'serverUrl','type'],'include':[{'model':_0xb8f2('0x6'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0xb8f2('0x7'),'attributes':['id',_0xb8f2('0x2')]},{'model':_0xb8f2('0x8'),'as':_0xb8f2('0x9'),'attributes':['id',_0xb8f2('0xa'),_0xb8f2('0xb'),_0xb8f2('0xc')],'include':[{'model':_0xb8f2('0xd'),'as':_0xb8f2('0xd'),'attributes':['id',_0xb8f2('0x2')]}]},{'model':_0xb8f2('0x8'),'as':_0xb8f2('0xe'),'attributes':['id',_0xb8f2('0xa'),'content',_0xb8f2('0xf'),_0xb8f2('0x10'),_0xb8f2('0x11'),_0xb8f2('0xc')],'include':[{'model':_0xb8f2('0xd'),'as':_0xb8f2('0xd'),'attributes':['id',_0xb8f2('0x2')]}]},{'model':_0xb8f2('0x8'),'as':_0xb8f2('0x12'),'attributes':['id',_0xb8f2('0xa'),_0xb8f2('0xb'),_0xb8f2('0x13'),_0xb8f2('0x14'),_0xb8f2('0x15'),'variableName'],'include':[{'model':'Variable','as':'Variable','attributes':['id',_0xb8f2('0x2')]}]}]}]},'log':'GetZendeskAccount'});};};
\ No newline at end of file
+var _0xfc06=['keyType','keyContent','variableName','Fields','nameField','customField','Request','GetZendeskAccount','name','username','password','token','remoteUri','authType','serverUrl','ZendeskConfiguration','Configurations','Subjects','type','content','Variable','ZendeskField','Descriptions','key'];(function(_0x20e872,_0x2e9ab1){var _0x37060f=function(_0x1abf68){while(--_0x1abf68){_0x20e872['push'](_0x20e872['shift']());}};_0x37060f(++_0x2e9ab1);}(_0xfc06,0xc6));var _0x6fc0=function(_0x302f3d,_0xb5585b){_0x302f3d=_0x302f3d-0x0;var _0x1cc361=_0xfc06[_0x302f3d];return _0x1cc361;};'use strict';var client=require('../../client');exports['getZendeskAccounts']=function(){return function(_0xbe6879){return client[_0x6fc0('0x0')](_0x6fc0('0x1'),{'options':{'raw':![],'attributes':['id',_0x6fc0('0x2'),_0x6fc0('0x3'),_0x6fc0('0x4'),_0x6fc0('0x5'),_0x6fc0('0x6'),_0x6fc0('0x7'),_0x6fc0('0x8'),'type'],'include':[{'model':_0x6fc0('0x9'),'as':_0x6fc0('0xa'),'attributes':['id','name'],'include':[{'model':'Tag','attributes':['id',_0x6fc0('0x2')]},{'model':'ZendeskField','as':_0x6fc0('0xb'),'attributes':['id',_0x6fc0('0xc'),_0x6fc0('0xd'),'variableName'],'include':[{'model':'Variable','as':_0x6fc0('0xe'),'attributes':['id',_0x6fc0('0x2')]}]},{'model':_0x6fc0('0xf'),'as':_0x6fc0('0x10'),'attributes':['id','type',_0x6fc0('0xd'),_0x6fc0('0x11'),_0x6fc0('0x12'),_0x6fc0('0x13'),_0x6fc0('0x14')],'include':[{'model':_0x6fc0('0xe'),'as':_0x6fc0('0xe'),'attributes':['id','name']}]},{'model':_0x6fc0('0xf'),'as':_0x6fc0('0x15'),'attributes':['id',_0x6fc0('0xc'),_0x6fc0('0xd'),'idField',_0x6fc0('0x16'),_0x6fc0('0x17'),_0x6fc0('0x14')],'include':[{'model':_0x6fc0('0xe'),'as':'Variable','attributes':['id','name']}]}]}]},'log':_0x6fc0('0x1')});};};
\ No newline at end of file