Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / services / ami / rpc / integrations / zoho.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 _0x82dc=['keyContent','Fields','nameField','customField','../../client','getZohoAccounts','Request','GetZohoAccount','name','description','host','zone','clientId','clientSecret','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','ZohoField','Subjects','type','content','variableName','Variable','Descriptions','key','keyType'];(function(_0x50d3ed,_0x45a932){var _0x6df8fd=function(_0x486209){while(--_0x486209){_0x50d3ed['push'](_0x50d3ed['shift']());}};_0x6df8fd(++_0x45a932);}(_0x82dc,0x126));var _0xc82d=function(_0x19145a,_0x274dab){_0x19145a=_0x19145a-0x0;var _0x34acf8=_0x82dc[_0x19145a];return _0x34acf8;};'use strict';var client=require(_0xc82d('0x0'));exports[_0xc82d('0x1')]=function(){return function(_0x59ea2c){return client[_0xc82d('0x2')](_0xc82d('0x3'),{'options':{'raw':![],'attributes':['id',_0xc82d('0x4'),_0xc82d('0x5'),_0xc82d('0x6'),_0xc82d('0x7'),_0xc82d('0x8'),_0xc82d('0x9'),'serverUrl',_0xc82d('0xa'),_0xc82d('0xb')],'include':[{'model':_0xc82d('0xc'),'as':_0xc82d('0xd'),'attributes':['id',_0xc82d('0x4'),_0xc82d('0xe'),_0xc82d('0xf'),_0xc82d('0x5')],'include':[{'model':_0xc82d('0x10'),'as':_0xc82d('0x11'),'attributes':['id',_0xc82d('0x12'),_0xc82d('0x13'),_0xc82d('0x14')],'include':[{'model':_0xc82d('0x15'),'as':_0xc82d('0x15'),'attributes':['id',_0xc82d('0x4')]}]},{'model':_0xc82d('0x10'),'as':_0xc82d('0x16'),'attributes':['id',_0xc82d('0x12'),'content',_0xc82d('0x17'),_0xc82d('0x18'),_0xc82d('0x19'),_0xc82d('0x14')],'include':[{'model':'Variable','as':_0xc82d('0x15'),'attributes':['id',_0xc82d('0x4')]}]},{'model':_0xc82d('0x10'),'as':_0xc82d('0x1a'),'attributes':['id','type',_0xc82d('0x13'),'idField',_0xc82d('0x1b'),_0xc82d('0x1c'),_0xc82d('0x14')],'include':[{'model':_0xc82d('0x15'),'as':_0xc82d('0x15'),'attributes':['id',_0xc82d('0x4')]}]}]}]},'log':_0xc82d('0x3')});};};