d9d04b8a198c390b0176cabd76dac203bd7bceea
[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 _0x261b=['./intFreshsalesConfiguration.attributes','define','FreshsalesConfiguration','lodash','util','request-promise','rimraf'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x261b,0x15a));var _0xb261=function(_0x3db368,_0x3cb630){_0x3db368=_0x3db368-0x0;var _0x442464=_0x261b[_0x3db368];return _0x442464;};'use strict';var _=require(_0xb261('0x0'));var util=require(_0xb261('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xb261('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb261('0x3'));var config=require('../../config/environment');var attributes=require(_0xb261('0x4'));module['exports']=function(_0x10f7ba,_0xaf0725){return _0x10f7ba[_0xb261('0x5')](_0xb261('0x6'),attributes,{'tableName':'int_freshsales_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};