Built motion from commit 3e059bc2.|2.5.32
[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 _0x3af4=['define','FreshsalesConfiguration','int_freshsales_configurations','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment'];(function(_0x2fa895,_0x44b2c3){var _0x2df77a=function(_0x149070){while(--_0x149070){_0x2fa895['push'](_0x2fa895['shift']());}};_0x2df77a(++_0x44b2c3);}(_0x3af4,0x1d1));var _0x43af=function(_0x46ae5a,_0x2a38d0){_0x46ae5a=_0x46ae5a-0x0;var _0x434986=_0x3af4[_0x46ae5a];return _0x434986;};'use strict';var _=require(_0x43af('0x0'));var util=require(_0x43af('0x1'));var logger=require(_0x43af('0x2'))(_0x43af('0x3'));var moment=require(_0x43af('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x43af('0x5'));var rimraf=require(_0x43af('0x6'));var config=require(_0x43af('0x7'));var attributes=require('./intFreshsalesConfiguration.attributes');module['exports']=function(_0x59ed05,_0x49bf13){return _0x59ed05[_0x43af('0x8')](_0x43af('0x9'),attributes,{'tableName':_0x43af('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};