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