X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fdesk.js;h=08c148e54ee573c24c42bd9cc94a09883e64a378;hb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;hp=f022ed615b7594eba6c8c77bf1c73250fe13ce65;hpb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;p=motion2.git diff --git a/server/services/ami/rpc/integrations/desk.js b/server/services/ami/rpc/integrations/desk.js index f022ed6..08c148e 100644 --- a/server/services/ami/rpc/integrations/desk.js +++ b/server/services/ami/rpc/integrations/desk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8e8a=['DeskConfiguration','DeskField','Subjects','content','variableName','Variable','keyContent','Fields','Tag','Tags','../../client','getDeskAccounts','Request','GetDeskAccount','name','description','password','remoteUri','authType','type','serverUrl'];(function(_0x4c7b5e,_0x4efbba){var _0x3f7e02=function(_0x1abf28){while(--_0x1abf28){_0x4c7b5e['push'](_0x4c7b5e['shift']());}};_0x3f7e02(++_0x4efbba);}(_0x8e8a,0x106));var _0xa8e8=function(_0x3bdbf5,_0x4bf2a3){_0x3bdbf5=_0x3bdbf5-0x0;var _0x8e05c6=_0x8e8a[_0x3bdbf5];return _0x8e05c6;};'use strict';var client=require(_0xa8e8('0x0'));exports[_0xa8e8('0x1')]=function(){return function(_0x46cfa8){return client[_0xa8e8('0x2')](_0xa8e8('0x3'),{'options':{'raw':![],'attributes':['id',_0xa8e8('0x4'),_0xa8e8('0x5'),'username',_0xa8e8('0x6'),_0xa8e8('0x7'),_0xa8e8('0x8'),_0xa8e8('0x9'),_0xa8e8('0xa')],'include':[{'model':_0xa8e8('0xb'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0xa8e8('0xc'),'as':_0xa8e8('0xd'),'attributes':['id','type',_0xa8e8('0xe'),_0xa8e8('0xf')],'include':[{'model':'Variable','as':_0xa8e8('0x10'),'attributes':['id',_0xa8e8('0x4')]}]},{'model':_0xa8e8('0xc'),'as':'Descriptions','attributes':['id',_0xa8e8('0x9'),'content','key','keyType',_0xa8e8('0x11'),_0xa8e8('0xf')],'include':[{'model':_0xa8e8('0x10'),'as':_0xa8e8('0x10'),'attributes':['id',_0xa8e8('0x4')]}]},{'model':_0xa8e8('0xc'),'as':_0xa8e8('0x12'),'attributes':['id','type','content','idField','nameField','customField',_0xa8e8('0xf')],'include':[{'model':_0xa8e8('0x10'),'as':_0xa8e8('0x10'),'attributes':['id',_0xa8e8('0x4')]}]},{'model':_0xa8e8('0x13'),'as':_0xa8e8('0x14'),'attributes':['id',_0xa8e8('0x4')]}]}]},'log':'GetDeskAccount'});};}; \ No newline at end of file +var _0x79ab=['name','description','username','password','remoteUri','serverUrl','DeskConfiguration','Configurations','DeskField','Subjects','type','content','variableName','Variable','Descriptions','key','keyType','keyContent','Fields','idField','nameField','customField','Tag','Tags','getDeskAccounts','GetDeskAccount'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x79ab,0x102));var _0xb79a=function(_0x310448,_0x59f6bd){_0x310448=_0x310448-0x0;var _0xc0124b=_0x79ab[_0x310448];return _0xc0124b;};'use strict';var client=require('../../client');exports[_0xb79a('0x0')]=function(){return function(_0xf9412c){return client['Request'](_0xb79a('0x1'),{'options':{'raw':![],'attributes':['id',_0xb79a('0x2'),_0xb79a('0x3'),_0xb79a('0x4'),_0xb79a('0x5'),_0xb79a('0x6'),'authType','type',_0xb79a('0x7')],'include':[{'model':_0xb79a('0x8'),'as':_0xb79a('0x9'),'attributes':['id',_0xb79a('0x2')],'include':[{'model':_0xb79a('0xa'),'as':_0xb79a('0xb'),'attributes':['id',_0xb79a('0xc'),_0xb79a('0xd'),_0xb79a('0xe')],'include':[{'model':_0xb79a('0xf'),'as':'Variable','attributes':['id','name']}]},{'model':_0xb79a('0xa'),'as':_0xb79a('0x10'),'attributes':['id',_0xb79a('0xc'),_0xb79a('0xd'),_0xb79a('0x11'),_0xb79a('0x12'),_0xb79a('0x13'),_0xb79a('0xe')],'include':[{'model':_0xb79a('0xf'),'as':'Variable','attributes':['id','name']}]},{'model':_0xb79a('0xa'),'as':_0xb79a('0x14'),'attributes':['id',_0xb79a('0xc'),_0xb79a('0xd'),_0xb79a('0x15'),_0xb79a('0x16'),_0xb79a('0x17'),_0xb79a('0xe')],'include':[{'model':_0xb79a('0xf'),'as':_0xb79a('0xf'),'attributes':['id',_0xb79a('0x2')]}]},{'model':_0xb79a('0x18'),'as':_0xb79a('0x19'),'attributes':['id',_0xb79a('0x2')]}]}]},'log':_0xb79a('0x1')});};}; \ No newline at end of file