Built motion from commit (unavailable).|2.5.11
[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 _0xdf96=['exports','FreshsalesConfiguration','lodash','util','api','moment','request-promise','path','rimraf','./intFreshsalesConfiguration.attributes'];(function(_0x187499,_0x5e416a){var _0x2965fe=function(_0xc6645e){while(--_0xc6645e){_0x187499['push'](_0x187499['shift']());}};_0x2965fe(++_0x5e416a);}(_0xdf96,0xfc));var _0x6df9=function(_0x28bb8a,_0x3abbcb){_0x28bb8a=_0x28bb8a-0x0;var _0x300f69=_0xdf96[_0x28bb8a];return _0x300f69;};'use strict';var _=require(_0x6df9('0x0'));var util=require(_0x6df9('0x1'));var logger=require('../../config/logger')(_0x6df9('0x2'));var moment=require(_0x6df9('0x3'));var BPromise=require('bluebird');var rp=require(_0x6df9('0x4'));var fs=require('fs');var path=require(_0x6df9('0x5'));var rimraf=require(_0x6df9('0x6'));var config=require('../../config/environment');var attributes=require(_0x6df9('0x7'));module[_0x6df9('0x8')]=function(_0x428cf5,_0x2a380d){return _0x428cf5['define'](_0x6df9('0x9'),attributes,{'tableName':'int_freshsales_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};