Built motion from commit (unavailable).|2.5.15
[motion2.git] / server / services / ami / rpc / integrations / servicenow.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe14d=['type','content','variableName','Variable','ServicenowField','key','keyType','keyContent','Fields','idField','nameField','../../client','getServicenowAccounts','Request','name','description','password','email','remoteUri','serverUrl','ServicenowConfiguration','Configurations','Subjects'];(function(_0x16345c,_0x433915){var _0x3caa11=function(_0x599673){while(--_0x599673){_0x16345c['push'](_0x16345c['shift']());}};_0x3caa11(++_0x433915);}(_0xe14d,0x1ee));var _0xde14=function(_0x363ef8,_0x4ecb1a){_0x363ef8=_0x363ef8-0x0;var _0x148822=_0xe14d[_0x363ef8];return _0x148822;};'use strict';var client=require(_0xde14('0x0'));exports[_0xde14('0x1')]=function(){return function(_0x1b5d3b){return client[_0xde14('0x2')]('GetServicenowAccount',{'options':{'raw':![],'attributes':['id',_0xde14('0x3'),_0xde14('0x4'),'username',_0xde14('0x5'),_0xde14('0x6'),_0xde14('0x7'),_0xde14('0x8')],'include':[{'model':_0xde14('0x9'),'as':_0xde14('0xa'),'attributes':['id','name'],'include':[{'model':'ServicenowField','as':_0xde14('0xb'),'attributes':['id',_0xde14('0xc'),_0xde14('0xd'),_0xde14('0xe')],'include':[{'model':_0xde14('0xf'),'as':_0xde14('0xf'),'attributes':['id',_0xde14('0x3')]}]},{'model':_0xde14('0x10'),'as':'Descriptions','attributes':['id',_0xde14('0xc'),_0xde14('0xd'),_0xde14('0x11'),_0xde14('0x12'),_0xde14('0x13'),_0xde14('0xe')],'include':[{'model':_0xde14('0xf'),'as':_0xde14('0xf'),'attributes':['id',_0xde14('0x3')]}]},{'model':_0xde14('0x10'),'as':_0xde14('0x14'),'attributes':['id',_0xde14('0xc'),_0xde14('0xd'),_0xde14('0x15'),_0xde14('0x16'),'customField','variableName'],'include':[{'model':_0xde14('0xf'),'as':_0xde14('0xf'),'attributes':['id',_0xde14('0x3')]}]}]}]},'log':'GetServicenowkAccount'});};};