Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / intFreshsalesConfiguration / intFreshsalesConfiguration.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 _0xe0a6=['./intFreshsalesConfiguration.attributes','int_freshsales_configurations','util','../../config/logger','api','bluebird','path','rimraf'];(function(_0x4b7769,_0x14f715){var _0x3f1400=function(_0x303729){while(--_0x303729){_0x4b7769['push'](_0x4b7769['shift']());}};_0x3f1400(++_0x14f715);}(_0xe0a6,0x1d2));var _0x6e0a=function(_0x3c38ff,_0x30b44b){_0x3c38ff=_0x3c38ff-0x0;var _0x68aa3b=_0xe0a6[_0x3c38ff];return _0x68aa3b;};'use strict';var _=require('lodash');var util=require(_0x6e0a('0x0'));var logger=require(_0x6e0a('0x1'))(_0x6e0a('0x2'));var moment=require('moment');var BPromise=require(_0x6e0a('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6e0a('0x4'));var rimraf=require(_0x6e0a('0x5'));var config=require('../../config/environment');var attributes=require(_0x6e0a('0x6'));module['exports']=function(_0x386585,_0xbc4cf7){return _0x386585['define']('FreshsalesConfiguration',attributes,{'tableName':_0x6e0a('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};