Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / intZohoAccount / intZohoAccount.model.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 _0xbff4=['exports','define','ZohoAccount','int_zoho_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../components/integrations/configuration'];(function(_0x23fa4e,_0x13bd89){var _0x4a9655=function(_0x349443){while(--_0x349443){_0x23fa4e['push'](_0x23fa4e['shift']());}};_0x4a9655(++_0x13bd89);}(_0xbff4,0x154));var _0x4bff=function(_0x203c8c,_0x2728e5){_0x203c8c=_0x203c8c-0x0;var _0x1e5322=_0xbff4[_0x203c8c];return _0x1e5322;};'use strict';var _=require(_0x4bff('0x0'));var util=require(_0x4bff('0x1'));var logger=require(_0x4bff('0x2'))(_0x4bff('0x3'));var moment=require(_0x4bff('0x4'));var BPromise=require(_0x4bff('0x5'));var rp=require(_0x4bff('0x6'));var attributes=require('./intZohoAccount.attributes');var integrations=require(_0x4bff('0x7'));module[_0x4bff('0x8')]=function(_0xe33f14,_0x36a7ab){return _0xe33f14[_0x4bff('0x9')](_0x4bff('0xa'),attributes,{'tableName':_0x4bff('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};