c3b489a1f9a821c8900dc3a2caf0e4f0e8719cff
[motion2.git] / server / api / intZohoConfiguration / intZohoConfiguration.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 _0x6dc1=['./intZohoConfiguration.attributes','exports','define','ZohoConfiguration','int_zoho_configurations','util','moment','bluebird','request-promise','path','rimraf'];(function(_0x533219,_0x493b82){var _0x3a49ee=function(_0x190d39){while(--_0x190d39){_0x533219['push'](_0x533219['shift']());}};_0x3a49ee(++_0x493b82);}(_0x6dc1,0x89));var _0x16dc=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0x6dc1[_0x31e29a];return _0x32d892;};'use strict';var _=require('lodash');var util=require(_0x16dc('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x16dc('0x1'));var BPromise=require(_0x16dc('0x2'));var rp=require(_0x16dc('0x3'));var fs=require('fs');var path=require(_0x16dc('0x4'));var rimraf=require(_0x16dc('0x5'));var config=require('../../config/environment');var attributes=require(_0x16dc('0x6'));module[_0x16dc('0x7')]=function(_0x56944b,_0x549601){return _0x56944b[_0x16dc('0x8')](_0x16dc('0x9'),attributes,{'tableName':_0x16dc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};