X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2Fintegrations%2Fdesk.js;h=5e1e28e13f6c71e9540c7e707cb51ad3c8403352;hb=08f6e0b86d261e0f7c3417afd107d7f774257198;hp=c4778e455e93f63fbc71815b52d5517bfccbbb28;hpb=77cac286a995d5774f6d69ad14d2f583dccfe84b;p=motion2.git diff --git a/server/services/ami/rpc/integrations/desk.js b/server/services/ami/rpc/integrations/desk.js index c4778e4..5e1e28e 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 _0x3691=['getDeskAccounts','Request','GetDeskAccount','name','username','remoteUri','authType','type','serverUrl','DeskConfiguration','Configurations','Subjects','variableName','Variable','DeskField','Descriptions','content','keyType','keyContent','Fields','idField','customField','Tag','Tags','../../client'];(function(_0x5c9d69,_0x4b1e37){var _0x409fea=function(_0x5b96a4){while(--_0x5b96a4){_0x5c9d69['push'](_0x5c9d69['shift']());}};_0x409fea(++_0x4b1e37);}(_0x3691,0x112));var _0x1369=function(_0x2588ee,_0x4157a2){_0x2588ee=_0x2588ee-0x0;var _0x4735d9=_0x3691[_0x2588ee];return _0x4735d9;};'use strict';var client=require(_0x1369('0x0'));exports[_0x1369('0x1')]=function(){return function(_0xa3e5b6){return client[_0x1369('0x2')](_0x1369('0x3'),{'options':{'raw':![],'attributes':['id',_0x1369('0x4'),'description',_0x1369('0x5'),'password',_0x1369('0x6'),_0x1369('0x7'),_0x1369('0x8'),_0x1369('0x9')],'include':[{'model':_0x1369('0xa'),'as':_0x1369('0xb'),'attributes':['id','name'],'include':[{'model':'DeskField','as':_0x1369('0xc'),'attributes':['id',_0x1369('0x8'),'content',_0x1369('0xd')],'include':[{'model':_0x1369('0xe'),'as':'Variable','attributes':['id',_0x1369('0x4')]}]},{'model':_0x1369('0xf'),'as':_0x1369('0x10'),'attributes':['id',_0x1369('0x8'),_0x1369('0x11'),'key',_0x1369('0x12'),_0x1369('0x13'),_0x1369('0xd')],'include':[{'model':_0x1369('0xe'),'as':_0x1369('0xe'),'attributes':['id','name']}]},{'model':_0x1369('0xf'),'as':_0x1369('0x14'),'attributes':['id',_0x1369('0x8'),_0x1369('0x11'),_0x1369('0x15'),'nameField',_0x1369('0x16'),_0x1369('0xd')],'include':[{'model':_0x1369('0xe'),'as':'Variable','attributes':['id',_0x1369('0x4')]}]},{'model':_0x1369('0x17'),'as':_0x1369('0x18'),'attributes':['id','name']}]}]},'log':'GetDeskAccount'});};}; \ No newline at end of file +var _0xb7f4=['content','variableName','Variable','key','keyType','keyContent','name','Fields','idField','nameField','customField','Tag','Tags','../../client','getDeskAccounts','GetDeskAccount','description','username','password','remoteUri','authType','type','DeskField','Subjects'];(function(_0x1b6311,_0x42ec20){var _0x25aab6=function(_0x139a77){while(--_0x139a77){_0x1b6311['push'](_0x1b6311['shift']());}};_0x25aab6(++_0x42ec20);}(_0xb7f4,0x1bd));var _0x4b7f=function(_0x5b97bf,_0x463378){_0x5b97bf=_0x5b97bf-0x0;var _0x3b9b3d=_0xb7f4[_0x5b97bf];return _0x3b9b3d;};'use strict';var client=require(_0x4b7f('0x0'));exports[_0x4b7f('0x1')]=function(){return function(_0x1b1c45){return client['Request'](_0x4b7f('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x4b7f('0x3'),_0x4b7f('0x4'),_0x4b7f('0x5'),_0x4b7f('0x6'),_0x4b7f('0x7'),_0x4b7f('0x8'),'serverUrl'],'include':[{'model':'DeskConfiguration','as':'Configurations','attributes':['id','name'],'include':[{'model':_0x4b7f('0x9'),'as':_0x4b7f('0xa'),'attributes':['id',_0x4b7f('0x8'),_0x4b7f('0xb'),_0x4b7f('0xc')],'include':[{'model':_0x4b7f('0xd'),'as':'Variable','attributes':['id','name']}]},{'model':_0x4b7f('0x9'),'as':'Descriptions','attributes':['id',_0x4b7f('0x8'),_0x4b7f('0xb'),_0x4b7f('0xe'),_0x4b7f('0xf'),_0x4b7f('0x10'),_0x4b7f('0xc')],'include':[{'model':_0x4b7f('0xd'),'as':_0x4b7f('0xd'),'attributes':['id',_0x4b7f('0x11')]}]},{'model':_0x4b7f('0x9'),'as':_0x4b7f('0x12'),'attributes':['id',_0x4b7f('0x8'),'content',_0x4b7f('0x13'),_0x4b7f('0x14'),_0x4b7f('0x15'),_0x4b7f('0xc')],'include':[{'model':_0x4b7f('0xd'),'as':'Variable','attributes':['id',_0x4b7f('0x11')]}]},{'model':_0x4b7f('0x16'),'as':_0x4b7f('0x17'),'attributes':['id',_0x4b7f('0x11')]}]}]},'log':_0x4b7f('0x2')});};}; \ No newline at end of file