Built motion from commit (unavailable).|2.5.15
[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 _0x6680=['Fields','idField','nameField','customField','../../client','getZohoAccounts','GetZohoAccount','name','description','host','zone','clientId','clientSecret','serverUrl','code','refreshToken','ZohoConfiguration','Configurations','moduleCreate','moduleSearch','ZohoField','Subjects','type','variableName','Variable','Descriptions','content','key','keyType'];(function(_0x21b762,_0xc8ef11){var _0x2ea6d4=function(_0x22bd14){while(--_0x22bd14){_0x21b762['push'](_0x21b762['shift']());}};_0x2ea6d4(++_0xc8ef11);}(_0x6680,0x17d));var _0x0668=function(_0x55e2a9,_0x5aabcb){_0x55e2a9=_0x55e2a9-0x0;var _0x1e52b8=_0x6680[_0x55e2a9];return _0x1e52b8;};'use strict';var client=require(_0x0668('0x0'));exports[_0x0668('0x1')]=function(){return function(_0x324010){return client['Request'](_0x0668('0x2'),{'options':{'raw':![],'attributes':['id',_0x0668('0x3'),_0x0668('0x4'),_0x0668('0x5'),_0x0668('0x6'),_0x0668('0x7'),_0x0668('0x8'),_0x0668('0x9'),_0x0668('0xa'),_0x0668('0xb')],'include':[{'model':_0x0668('0xc'),'as':_0x0668('0xd'),'attributes':['id','name',_0x0668('0xe'),_0x0668('0xf'),_0x0668('0x4')],'include':[{'model':_0x0668('0x10'),'as':_0x0668('0x11'),'attributes':['id',_0x0668('0x12'),'content',_0x0668('0x13')],'include':[{'model':_0x0668('0x14'),'as':_0x0668('0x14'),'attributes':['id','name']}]},{'model':_0x0668('0x10'),'as':_0x0668('0x15'),'attributes':['id',_0x0668('0x12'),_0x0668('0x16'),_0x0668('0x17'),_0x0668('0x18'),'keyContent',_0x0668('0x13')],'include':[{'model':_0x0668('0x14'),'as':'Variable','attributes':['id','name']}]},{'model':_0x0668('0x10'),'as':_0x0668('0x19'),'attributes':['id',_0x0668('0x12'),_0x0668('0x16'),_0x0668('0x1a'),_0x0668('0x1b'),_0x0668('0x1c'),_0x0668('0x13')],'include':[{'model':_0x0668('0x14'),'as':_0x0668('0x14'),'attributes':['id','name']}]}]}]},'log':'GetZohoAccount'});};};