X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fdesk.js;h=21f0e810674a6e49b0b85876ef4dbd80dc827e0c;hb=ece744b31d5c8c1b26913aafb50e0250a2a6b474;hp=9bd3386a9a275a9ace114d716a76f3c8e29cf2db;hpb=9de5174448f6124e143d4b68967b102fec513aee;p=motion2.git diff --git a/server/services/ami/rpc/integrations/desk.js b/server/services/ami/rpc/integrations/desk.js index 9bd3386..21f0e81 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 _0x26cc=['Configurations','Subjects','content','variableName','Variable','name','DeskField','Descriptions','key','keyType','Fields','nameField','Tag','Tags','../../client','getDeskAccounts','Request','GetDeskAccount','description','username','password','remoteUri','authType','type','serverUrl','DeskConfiguration'];(function(_0x2560f6,_0x3ec8ed){var _0x136f55=function(_0x591a51){while(--_0x591a51){_0x2560f6['push'](_0x2560f6['shift']());}};_0x136f55(++_0x3ec8ed);}(_0x26cc,0x146));var _0xc26c=function(_0x5e4b85,_0x6cf965){_0x5e4b85=_0x5e4b85-0x0;var _0x5cd3cb=_0x26cc[_0x5e4b85];return _0x5cd3cb;};'use strict';var client=require(_0xc26c('0x0'));exports[_0xc26c('0x1')]=function(){return function(_0x5a4b1b){return client[_0xc26c('0x2')](_0xc26c('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xc26c('0x4'),_0xc26c('0x5'),_0xc26c('0x6'),_0xc26c('0x7'),_0xc26c('0x8'),_0xc26c('0x9'),_0xc26c('0xa')],'include':[{'model':_0xc26c('0xb'),'as':_0xc26c('0xc'),'attributes':['id','name'],'include':[{'model':'DeskField','as':_0xc26c('0xd'),'attributes':['id','type',_0xc26c('0xe'),_0xc26c('0xf')],'include':[{'model':_0xc26c('0x10'),'as':'Variable','attributes':['id',_0xc26c('0x11')]}]},{'model':_0xc26c('0x12'),'as':_0xc26c('0x13'),'attributes':['id',_0xc26c('0x9'),'content',_0xc26c('0x14'),_0xc26c('0x15'),'keyContent','variableName'],'include':[{'model':_0xc26c('0x10'),'as':_0xc26c('0x10'),'attributes':['id',_0xc26c('0x11')]}]},{'model':_0xc26c('0x12'),'as':_0xc26c('0x16'),'attributes':['id',_0xc26c('0x9'),_0xc26c('0xe'),'idField',_0xc26c('0x17'),'customField',_0xc26c('0xf')],'include':[{'model':'Variable','as':_0xc26c('0x10'),'attributes':['id',_0xc26c('0x11')]}]},{'model':_0xc26c('0x18'),'as':_0xc26c('0x19'),'attributes':['id',_0xc26c('0x11')]}]}]},'log':'GetDeskAccount'});};}; \ No newline at end of file +var _0xbc49=['DeskField','Subjects','variableName','Variable','Descriptions','content','key','keyType','keyContent','name','Fields','idField','nameField','customField','Tag','Tags','getDeskAccounts','Request','authType','type','serverUrl'];(function(_0x58696a,_0x2aed89){var _0x32393a=function(_0x1e38c9){while(--_0x1e38c9){_0x58696a['push'](_0x58696a['shift']());}};_0x32393a(++_0x2aed89);}(_0xbc49,0xa3));var _0x9bc4=function(_0x1e081a,_0x482d6b){_0x1e081a=_0x1e081a-0x0;var _0x428209=_0xbc49[_0x1e081a];return _0x428209;};'use strict';var client=require('../../client');exports[_0x9bc4('0x0')]=function(){return function(_0x5260ef){return client[_0x9bc4('0x1')]('GetDeskAccount',{'options':{'raw':![],'attributes':['id','name','description','username','password','remoteUri',_0x9bc4('0x2'),_0x9bc4('0x3'),_0x9bc4('0x4')],'include':[{'model':'DeskConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':_0x9bc4('0x5'),'as':_0x9bc4('0x6'),'attributes':['id',_0x9bc4('0x3'),'content',_0x9bc4('0x7')],'include':[{'model':'Variable','as':_0x9bc4('0x8'),'attributes':['id','name']}]},{'model':_0x9bc4('0x5'),'as':_0x9bc4('0x9'),'attributes':['id','type',_0x9bc4('0xa'),_0x9bc4('0xb'),_0x9bc4('0xc'),_0x9bc4('0xd'),_0x9bc4('0x7')],'include':[{'model':_0x9bc4('0x8'),'as':'Variable','attributes':['id',_0x9bc4('0xe')]}]},{'model':_0x9bc4('0x5'),'as':_0x9bc4('0xf'),'attributes':['id',_0x9bc4('0x3'),_0x9bc4('0xa'),_0x9bc4('0x10'),_0x9bc4('0x11'),_0x9bc4('0x12'),'variableName'],'include':[{'model':_0x9bc4('0x8'),'as':_0x9bc4('0x8'),'attributes':['id','name']}]},{'model':_0x9bc4('0x13'),'as':_0x9bc4('0x14'),'attributes':['id',_0x9bc4('0xe')]}]}]},'log':'GetDeskAccount'});};}; \ No newline at end of file