031f237001ec8018fad7a4bd71bbe3434601531d
[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 _0x1cd8=['define','ZohoConfiguration','int_zoho_configurations','lodash','util','../../config/logger','api','moment','rimraf','../../config/environment','./intZohoConfiguration.attributes'];(function(_0x1396bb,_0x42bfa5){var _0xcc9f8d=function(_0x387b79){while(--_0x387b79){_0x1396bb['push'](_0x1396bb['shift']());}};_0xcc9f8d(++_0x42bfa5);}(_0x1cd8,0xa8));var _0x81cd=function(_0x2e06ae,_0x32834d){_0x2e06ae=_0x2e06ae-0x0;var _0x519370=_0x1cd8[_0x2e06ae];return _0x519370;};'use strict';var _=require(_0x81cd('0x0'));var util=require(_0x81cd('0x1'));var logger=require(_0x81cd('0x2'))(_0x81cd('0x3'));var moment=require(_0x81cd('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x81cd('0x5'));var config=require(_0x81cd('0x6'));var attributes=require(_0x81cd('0x7'));module['exports']=function(_0x1c7f06,_0xe7b2b8){return _0x1c7f06[_0x81cd('0x8')](_0x81cd('0x9'),attributes,{'tableName':_0x81cd('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};